[fpc-pascal] Compile ANSI unit as UTF8
jonas.maebe at elis.ugent.be
Mon Sep 6 11:16:47 CEST 2010
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.
More information about the fpc-pascal