The Editor cannot get Unicode(Chinese) character input? lazarus / 9-Editor ---------------------------------------------------------------------- Goodman H__ · 2010-05-21 04:33 Greetings! I cannot input Chinese characters in the lazarus editor,a round way is to copy from elsewhere and paste to it. Was I missing something or the current IDE eidtor just support non unicode input? Thanks in advance. Regards, Sam ---------------------------------------------------------------------- Ñuño_Martínez · 2010-05-21 07:34 What operating system are you using? BTW UNICODE support isn't complete , as far as I know. ---------------------------------------------------------------------- Martin_fr · 2010-05-21 08:01 As far as I can see this isn't about Unicode. The original poster, has no problems handling files with Chinese chars in it (which is supported). The problem is imputing them, presumingly using IME. I had feedback from people who were able to use IME, however with a limitation. The IME editor  is not integrated. That means the Operating System will place the IME editor somewhere on the screen (probably upper left). Placing the IME on the position of current editing is not yet implemented. In order to implement this, it will be necessary to find out how other platforms deal/interact with applications to do this. How does gtk2 query the best position for IME? QT? ... Even if we don't implement them all at once, in order to define a common interface some knowledge will be needed. ---------------------------------------------------------------------- Goodman H__ · 2010-05-21 08:28 Quote from: Ñuño_Martínez on May 21, 2010, 09:34:51 amWhat operating system are you using? BTW UNICODE support isn't complete , as far as I know. Under Ubuntu 10,Chinese version. BTW,if under window XP,the editor has no problem to accept Chinese characters,but the console app can not show Chinese properly. Regards, Sam ---------------------------------------------------------------------- Martin_fr · 2010-05-21 09:13 the console app (writeln, I assume) is a different issue. Probably a need for Utf8 to Utf16 conversation. Writeln is part of fpc, and doesn't necessarily have the same feature supported as the LCL has..., then again I don't know. But if so, probably a need for a "writeln" that does this automatically, so developers do not need to put platform depended IFDEF in their code.... As for IME input under gtk2. Unfortunately, I have no idea how it works. Under windows, and app does not need to do anything, Windows will take 100% care of the IME editor. (An app *can* (optional) provide feedback about IME editing (like position for the editor) Under GTK(2),QT,Carbon  => no idea. If you have info, please point it out (However, I can not say were in the huge stack of other planed/needed features this will end up) ---------------------------------------------------------------------- skalogryz · 2010-05-21 09:41 There's already a bug report about this. http://bugs.freepascal.org/view.php?id=13374 Sorry, I just have no time for this at all.