Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-10

Cyrillization of LCL patch

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Vasily I. Volchenko: It was too easy. Just GDK_cyrillic keys recoding to koi8-r. Two lines of code. So,…
Show quoted text 9 lines
It was too easy. Just GDK_cyrillic keys recoding to koi8-r. Two lines of code. So, stripping high byte makes a koi8-r code from GDK key word. May be, this will cure some more locales. So, now synedit accept Russian keys, as OnKeyPress event works fine with Russian keys. In case of non-koi8 locale (e.g. Latin) and Russian keys it will give high latins symbols (accents etc.), but why should anyone in latin locale press keys in Russian keymap? More problems will be in cp1251 locale... But it is another problem.

Thx. Applied.

Mattias

Reply by email

Vasily I. Volchenko

It was too easy. Just GDK_cyrillic keys recoding to koi8-r. Two lines of code. So, stripping high byte makes a koi8-r code from GDK key word. May be, this will cure some more locales.
So, now synedit accept Russian keys, as OnKeyPress event works fine with Russian keys.
In case of non-koi8 locale (e.g. Latin) and Russian keys it will give high latins symbols (accents etc.), but why should anyone in latin locale press keys in Russian keymap? More problems will be in cp1251 locale... But it is another problem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00006.bin
Type: application/octet-stream
Size: 387 bytes
Desc: "lazarus_2002-10-07_cyrfix.diff.gz"
Url : http://localhost/pipermail/lazarus/attachments/20021010/b67c8067/bin00006.bin

Reply by email