Zavier0 | 11 Jun 2012 11:38
Picon

Microsoft IME Japanese input problem in GNU emacs


Hello,

when I tried to type Japanese in GNU emacs (v22.3.1) with the native
Microsoft IME of the Japanese version of Windows 7 (64bit), I got : ???????? 
(some interrogation marks instead of kanjis).

However, when I use the GNU emacs native japanese input, it works fine.
 Problem: it is far less convenient than Microsoft IME.

Surprisingly, I do not have this problem with GNU emacs installed on my
laptop (WIndows 7 Ultimate, 32 bits, same version of Microsoft IME), despite
both GNU emacs installations are rigorously the same (well really seem the
same  at least).

Of course, I can open file with Japanese inside without problem, this is
just the input that does not work.

Thank you very much.
--

-- 
View this message in context: http://old.nabble.com/Microsoft-IME-Japanese-input-problem-in-GNU-emacs-tp33992040p33992040.html
Sent from the Emacs - Windows - Help mailing list archive at Nabble.com.

Jason Rumney | 12 Jun 2012 16:17
Picon

Re: Microsoft IME Japanese input problem in GNU emacs

Zavier0 <xavier.dahan <at> gmail.com> writes:

> Hello,
>
> when I tried to type Japanese in GNU emacs (v22.3.1) with the native
> Microsoft IME of the Japanese version of Windows 7 (64bit), I got : ???????? 
> (some interrogation marks instead of kanjis).
>
> However, when I use the GNU emacs native japanese input, it works fine.
>  Problem: it is far less convenient than Microsoft IME.
>
>
> Surprisingly, I do not have this problem with GNU emacs installed on my
> laptop (WIndows 7 Ultimate, 32 bits, same version of Microsoft IME), despite
> both GNU emacs installations are rigorously the same (well really seem the
> same  at least).

Probably your locale on the second machine is set to Japanese?

Try Emacs 24.1, I think the problem you are seeing was fixed for Emacs
23.1 (with perhaps further bugfixes in later versions).

Zavier0 | 15 Jun 2012 09:19
Picon

Re: Microsoft IME Japanese input problem in GNU emacs


Thanks Jason for your answer.

Jason Rumney-4 wrote:
> 
> Zavier0 <xavier.dahan <at> gmail.com> writes:
> 
>> when I tried to type Japanese in GNU emacs (v22.3.1) with the native
>> Microsoft IME of the Japanese version of Windows 7 (64bit), I got :
>> ???????? 
>> (some interrogation marks instead of kanjis).
>>
>> However, when I use the GNU emacs native japanese input, it works fine.
>>  Problem: it is far less convenient than Microsoft IME.
>>
>>
>> Surprisingly, I do not have this problem with GNU emacs installed on my
>> laptop (WIndows 7 Ultimate, 32 bits, same version of Microsoft IME),
>> despite
>> both GNU emacs installations are rigorously the same (well really seem
>> the
>> same  at least).
> 
> Probably your locale on the second machine is set to Japanese?
> 

I do not know. I set-locale-environment to Japanese on both machines and it
does not
change anything.

(Continue reading)

Jason Rumney | 17 Jun 2012 15:47
Picon

Re: Microsoft IME Japanese input problem in GNU emacs

Zavier0 <xavier.dahan <at> gmail.com> writes:

>> 
>> Probably your locale on the second machine is set to Japanese?
>> 
>
> I do not know. I set-locale-environment to Japanese on both machines and it
> does not
> change anything.

set-locale-environment does not change the locale of Windows (and the
IMEs that Windows runs), only of Emacs.  The Windows locale can be
changed in the Regional Settings control panel (the title of the
relevant option is something like "Language for non-Unicode Programs").

> Yes. I installed v24.1 and removed the v22.3.1 and it improved....a bit:
> no more interrogation marks !
> But the small IME input window does not appear, which means that the kanjis
> choice appear only after I press "enter" (like when typing a password, you
> are blind). 

Please report this as a bug.  When the support for Windows IMEs was
added, it was displaying the Window, but it may need work to work
properly on all versions of Windows, or something may have changed in
Emacs since then.

Zavier0 | 18 Jun 2012 06:03
Picon

Re: Microsoft IME Japanese input problem in GNU emacs


Thanks again Jason for your reply.

Jason Rumney-4 wrote:
> 
> Zavier0 <xavier.dahan <at> gmail.com> writes:
> 
>>> 
>>> Probably your locale on the second machine is set to Japanese?
> 
> 
> set-locale-environment does not change the locale of Windows (and the
> IMEs that Windows runs), only of Emacs.  The Windows locale can be
> changed in the Regional Settings control panel (the title of the
> relevant option is something like "Language for non-Unicode Programs").
> 

Alright. It was funny to notice that despite my Windows is Japanese, the
windows locale
was set to "America". I changed it to Japanese, it resolved some issues I
had (auto-update
bubbles with some ?????? inside instead of Japanese) but not the IME input
problem with Emacs.

Jason Rumney-4 wrote:
> 
> Zavier0 <xavier.dahan <at> gmail.com> writes:
>> But the small IME input window does not appear, which means that the
>> kanjis
>> choice appear only after I press "enter" (like when typing a password,
(Continue reading)


Gmane