[code] [textadept] Inputting Japanese and Chinese characters on textadept of windows version

From: Outlook Yuki <X1353135.att.outlook.com>
Date: Sun, 23 Jul 2017 10:39:21 +0000

Hi Mitchell


I'm Yuki. Thank you for you develop textadept, a nice editor.
I'm trying to input Japanese and Chinese characters on textadept of Windows version, but got a trouble.
When I input Japanese and Chinese character on textadept on Windows 7, the input method always shown on upper left corner of desktop, I can not input characters inline.
I'm trying to use textadept on Window7 of English version with changing encoding to cp932.

Following are screen shots when I input Japanese.

[cid:c3850d6f-bca8-4eb4-9a1c-466780b39634]

[cid:048fa1cb-db26-4dec-bd17-5a98152b941e]

When I input Chinese, the trouble is not only the position of input method, but also the inputted character get garbled characters in the input method area.

[cid:1849587b-167b-45f3-a240-29ffa0ab7383]

[cid:a6fb547e-41fb-4480-8e0c-0de6f5d9b4de]

[cid:0b8ec9f2-fd73-4647-b9e1-7461d3399509]


[cid:fafbea8a-c90c-4b2e-a5d9-bab8e34d3c3f]

Actually, same symptom occur also on another GTK+2 application such as GIMP.

I found a information about this trouble on following web site.

It seems additional module is necessary to input characters inline using input method of Winodws on GTK+2.


http://imime.osdn.jp/

[http://imime.osdn.jp/images/imime01-sum.jpg]<http://imime.osdn.jp/>

imime - An immodule for GTK+2 using Windows IME<http://imime.osdn.jp/>
imime.osdn.jp
[English | Japanese] imime - An immodule for GTK+2 using Windows IME. 1. What's this? "imime" is a input method module for Gtk+-2.0 which enables inline multilingual ...


Thus, I configured GTK+2 which is attached in textadept like following.


  1. Downloaded imime-0.1.2.zip from following web site, and extracted files in C:/Programs/imime/
  2. Added following configuration in textadept\etc\gtk-2.0\gtk.immodules


"C:/Programs/imime/im-ime.dll"
"win32ime" "Windows IME" "gtk+" "" "*"


As the result, I could input Japanese inline.


[cid:a5a5b1e4-6253-4941-8d0c-9f5a7e0138cb]


[cid:66bde53d-c942-401c-8a1e-65000f63d2a6]


[cid:3d95af63-9c09-429e-a21b-96c43f867770]



But I still can not input Chinese correctly(inputted characters get garbled).


[cid:7af82c96-a228-453e-a533-5a7116ff3419]


[cid:f33875a4-8aea-4ef7-b229-7bee5dfd6954]


[cid:355db940-99f1-4ead-a1f3-2012767a9cd7]


[cid:56ca18b9-9b97-4610-8295-06eb2e515fe8]



I found a information that the source code of im-ime.dll is already merged in GTK+2 officially , from the imime module web site.

Thus, I checked difference between the soruce code on the imime module web site and GTK+2.24.10, and found there is difference between these codes.

It seems the imime codes in GTK+2 have many modifications.


Could you please build im-ime.dll from GTK+2 source codes if you usually build the GTK+2 which is attached textadept by your self, and provide me?

I would like to try the latest dll because it may be able to fix this problem.


As additional information, I can input Japanese and Chinese correctly using input method of WIndow 8.1 on textadept without any modification.

It seems GTK+2 have some trouble about supporing input method on windows7.


Inputting Japanese on WIndow 8.1:


[cid:8d440821-c8b2-464f-93e0-a4aefa6da5e8]


[cid:957209dc-cf84-4f6c-ba4f-542b68f8674e]


[cid:28736f62-3f78-47ea-bc10-03032828a525]


Inputting Chinese on WIndows 8.1:


[cid:deee7369-3026-4480-854e-3f15640220e4]

[cid:1ad8f997-6a22-4c0b-8f01-4a6b9cf7b6cd]


[cid:52c21c60-560e-4e44-b920-77f1cd9c7276]


[cid:1089db31-bbff-4dfb-8f6f-1079af7d1bb9]


[cid:8a0b6550-eb61-4901-8f5e-0ac55beb55b3]

Yuki



-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
ta_jp1011.png
ta_jp1012.png
ta_cn1011.png
ta_cn1012.png
ta_cn1013.png
ta_cn1014.png
ta_jp2011.png
ta_jp2012.png
ta_jp2013.png
ta_cn2011.png
ta_cn2012.png
ta_cn2013.png
ta_cn2014.png
ta_jp3011.png
ta_jp3012.png
ta_jp3013.png
ta_cn3011.png
ta_cn3012.png
ta_cn3013.png
ta_cn3014.png
ta_cn3015.png
Received on Sun 23 Jul 2017 - 06:39:21 EDT

This archive was generated by hypermail 2.2.0 : Sun 23 Jul 2017 - 06:41:50 EDT