<div dir="ltr"><div class="gmail_quote">On Mon, Sep 6, 2010 at 11:16 AM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be">jonas.maebe@elis.ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On 06 Sep 2010, at 01:28, Zaher Dirkey wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have unit with Ansi strings but i want to compile it as UTF-8 how to ask<br>
the compiler to convert it to utf8 before compile it?<br>
</blockquote>
<br></div>
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.<br>
<font color="#888888">
<br></font></blockquote><div><br>Becuase i use this unit in Delphi 7 and Lazarus with my local language.<br><br>What for -Fm<x> parameters?<br><br>Thanks</div><br></div><br>-- <br>Zaher Dirkey<br>
</div>