<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 8:19 PM, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":188">When the IDE opens a file it tries to guess what encoding it is. It<br>
then converts the file in memory to UTF-8.<br>
If you think the IDE guessed right and you<br>
want to convert the file to another encoding, use "Change File".<br>
If you think the IDE guessed wrong and it should open it with another<br>
encoding use the "Reopen".<br>
<div class="im"><br>
<br>
> 2 - When (Reopen with another encode) it is add strange chars in the first<br>
> line of the file, is that bug?.<br>
<br>
</div>That's pretty normal if you open a file and use the wrong encoding<br>
to convert it to UTF-8.<br>
<div class="im"></div></div></blockquote></div><br>Ah i see that is normal now.<br>But still there is problem when open the file have UTF8 with BOM, not when use change the Encode, just normal open the file, it is add space(strange char) at the first char + first line, in Hex view of file there is the correct 3 BOM bytes, it is happned when i opened the file in Delphi UTF8+BOM and then open it in Lazarus.<br>
Would some one test it also before submit a bug(or search for it :) ).<br><br>I used Windows XP.<br clear="all"><br>Thanks<br><br>Zaher Dirkey<br>
</div>