[fpc-devel] Delphi incompatible encoding

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Dec 2 11:32:13 CET 2014

Mattias Gaertner schrieb:
> On Tue, 02 Dec 2014 04:05:59 +0100
> Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:

> Many things affect string literals. Source codepage, system codepage,
> string type, defaultsystemcodepage, library, compiler version.
> I started a table for UTF-8 literals:
> http://wiki.lazarus.freepascal.org/Character_and_string_types#String_constants

Thanks, after some reading I changed the sourcefile encoding, and both 
UTF8bom and Ansi provide correct results. The Lazarus default (UTF-8 
without BOM) is not usable on Windows :-(


More information about the fpc-devel mailing list