Zitat von Gabor Boros <gaborbo...@yahoo.com>:

> Hi,
>
> I am fighting with an ansi/unicode/utf8 problem and during this war
> observed a strange thing for me about file encoding.
> When a new project created the encoding is CP1250 (from File
> Setting/Encoding ) for me.

That's wrong. It should be UTF-8.
(Unless you are using some other templates.)
I fixed one place in r18166. Please test.


> Then saved the project the encoding is CP1250
> in File Setting/Encoding. But when reopen the project (with or without
> close Lazarus) Encoding displays UTF8. Is it normal? Lazarus convert
> encoding automatically or new files created with UTF8 but File
> Setting/Encoding display wrong value?

The IDE guesses the encoding on loading. Normal pascal units contain only ASCII
characters, where CP1250 and UTF-8 are the same.


Mattias

_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to