Op Mon, 16 Jul 2007, schreef Yury Sidorov:

> The code page (locale) is set in Control Panel for whole user session (or
> whole system).
> It is not possible to set utf8 as locale.

I know. How do you set it to a specific locale for the current 
application?

> We can create flag in System unit which control how widestring<->ansistring
> should be performed to enable utf8 on Windows.

No, you cannot (at least not with full functionality), since uppercasing 
and compare operations on UTF-8 ansistrings you need a Unicode library, 
which Windows does only provide in UTF-16 flavour.

Daniël
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to