On Wed, 13 Apr 2016 12:53:49 +0200 Michael Schnell <mschn...@lumino.de> wrote:
> On 04/13/2016 11:08 AM, Sven Barth wrote: > > > > The code pages that are relevant here are only single byte code pages > > (e.g. CP1252) or UTF-8, *never* UTF-16 as a AnsiString can not store > > UTF-16 data. > > > > StringCodePage(s) with an unqualified String return 0 (which is > "CP_ACP", and seemingly means "Default"). It means DefaultSystemCodePage. > But how to determine what encoding this default is, if (as we found) it > can't be DefaultSystemCodePage and can be UTF16, Why do you think that? > which is dynamic, while > the default for unqualified strings is static and *never* UTF-16 ? Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus