On Tue, 02 Dec 2014 11:32:13 +0100 Hans-Peter Diettrich <drdiettri...@aol.com> wrote:
> Mattias Gaertner schrieb: > > On Tue, 02 Dec 2014 04:05:59 +0100 > > Hans-Peter Diettrich <drdiettri...@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 :-( You need to add conversions. With the new DefaultSystemCodePage many of them are no longer needed. Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel