[Lazarus] Keymappings file location?
Lee Jenkins
lee at datatrakpos.com
Sun Apr 20 20:43:58 CEST 2008
On Sun, 20 Apr 2008 13:34:23 +0300
ik <idokan at gmail.com> wrote:
> Mattias.
>
> I believe that it is a wrong way to do it. For example the 12xx are
> Windows language codes. Sometimes you wish to use them as-is, so this
> will actually create a bug imho.
>
> You should create a tool that asks on each string (or yes to all) to
> convert it into UTF-8 instead.
I'm not sure, what you mean.
The LCL expects UTF-8 strings, so does synedit and all other IDE
controls.
When the IDE opens a text file (e.g. unit1.pas) it checks if it is
UTF-8. Many Delphi sources are encoded in a windows code page.
If it is not UTF-8 then it must be converted. And when the IDE saves a
file to disk, it must convert it back to the original encoding.
> > The IDE now (svn 14904) tries to find out the encoding of a source
> > file and converts it to UTF-8 on loading and back on saving.
Mattias
More information about the Lazarus
mailing list