[fpc-pascal] Compile ANSI unit as UTF8

Zaher Dirkey parmaja at gmail.com
Mon Sep 6 15:30:20 CEST 2010


On Mon, Sep 6, 2010 at 11:16 AM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:

>
> 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.
>
>
Becuase i use this unit in Delphi 7 and Lazarus with my local language.

What for -Fm<x> parameters?

Thanks


-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100906/1b5fa9aa/attachment.html>


More information about the fpc-pascal mailing list