On 10/11/2011 11:05 AM, Marco van de Voort wrote:
IRC there is also a codepage that
just means "system default" and assumes the system knows how to convert that
from/to utf16 (or utf8 on *nix)

Why should it do a _conversion_ and not just use the appropriate coding (e.g. utf-16 on Windows and utf-8 on *nix) for the constants and thus provide that all strings are initialized with this coding when they get any content (of course the content originated by the OS/WidgetSet API comes in in this coding as well.

So - unless the user code forces it - no conversion ever is necessary.

-Michael
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to