Vote UpVote

The Delphi Compiler and UTF-8 Encoded Source Code Files With no BOM

Marco's Tech Blog – Last week a (large) customer sent me an email indicating he was experiencing issues when compiling the same project on different machines. Turned out the difference was in the source code files format and the root cause was a unit saved as UTF-8 but without a BOM. The reason? One of the developers is using Visual Studio Code... and the solution is a chancing that or using compiler flag. But before I get to the solution, let me show you the problem with a very simple test case. Delphi and Source Files Encoding To test the scenario, we (it was one of the architects who came up with the ...
Favorite? Off-Topic? marcocantu @ 2018-10-04 10:52


Visits: 273
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)