On Fri, 23 Nov 2007 08:13:41 +0300
"Vasily I. Volchenko" <[EMAIL PROTECTED]> wrote:

> OK, I understand the problems of using utf8 on windows, but I am
> speaking about other things. Why lazarus should save (and load)
> pascal (and only pascal, not lfm/lrs, not po) files in the internal
> encoding? If gtk2 version supports utf8, it forces user to save all
> files in utf8, when if windows version not supported it, saving in
> ansi charset is forced. It is possible (and quite easy by means of
> RTL) to convert text from utf8 to ansi, why not to use this
> translation on saving/loading by the choice of user?

The old situation was: All widgetsets used their own encoding. The goal
is to use UTF-8 as *default*. The missing piece is the win32/win64
widgetset which is currently tested, so it is no yet enabled as
default. Probably UTF-8 will be enabled soon.

Of course the source editor *should* handle text files (including
pascal) in other encodings too. But this is not implemented yet.
An easy solution would be to add an converter to the codetools
load/save functions.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to