On 06 Sep 2010, at 01:28, Zaher Dirkey wrote:

I have unit with Ansi strings but i want to compile it as UTF-8 how to ask
the compiler to convert it to utf8 before compile it?

The compiler itself can only convert from utf-8 and several ISO code pages into utf-16 at compile time (i.e., change string constants into widestring constants). If you want to convert them to utf-8, you have to use a text editor as Felipe mentioned.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to