Posts Tagged ‘入力’

Swiss German Keyboard Layout for Japanese IME on Windows 7

Sunday, March 18th, 2012

In Windows 7, there seems to be a bug regarding the keyboard layout in Japanese IME (probably not the only bug in Windows 7, but hey…). The issue apparently didn’t exist in Vista but affects Windows 7 users who use Microsoft IME to input Japanese on non-Japanese Windows 7 pcs.

After adding Japanese input via Control Panel -> Region and Language -> Tab “Keyboards and Languages” -> “Change keyboards…” -> Tab “General”, Japanese input uses an US layout keyboard whenever you input something in Japanese.

Basically, this is not a problem for users with a physical US keyboard layout but there are some people with a non-US keyboard layout. E.g. mine is Swiss German and I even though I can use an US layout on a physical Swiss German keyboard without problems, others might not be so lucky.

So, how do you change this keyboard layout setting? This article pointed me into the right direction but you can’t choose keyboard layouts anywhere in the IME settings. There are tons of settings but nothing to do with keyboards. In this case, you have change a registry key! Standard warnings on editing the registry apply, so be careful.

Start regedit and navigate to the following key:
Right-click “i8042prt” and select “Export”, save the key as i8042prt.reg on your desktop.
Open i8042prt\Parameters and select “LayerDriver JPN” in the right window pane. Double-click “LayerDriver JPN” and type the following value data: KBDSG.dll
Click OK, close regedit and restart your computer. At the next logon, you can input Japanese using Microsoft IME with a Swiss German keyboard layout.

For the curious: KBDSG.dll is located in C:\Windows\System32 – if you look at the properties, it says:
File description: Swiss German Keyboard layout.

I haven’t tested this but I imagine you actually use any kbd***.dll in System32 as value in “LayerDriver JPN” if you feel unhappy with the standard US layout.

HTHS, cheers!


Not all is gold that glitters. There’s a downside to the method described above. In Japanese texts, the standard brackets are “「” and “」” and guess what? As these characters don’t exist on a Swissgerman keyboard, you won’t be able to input them. Although they come with a Unicode code (U+300C and U+300D resp.), entering Unicode requires you to press Alt and the + key on the numerical pad (which you might not have if you’re working on a laptop). Even worse, as long as you only have to enter numerals, Unicode works but in most programs Alt+C or Alt+D will trigger some command or open a menu.

An easy workaround would be to copy these two characters to a simple text to have them at your disposal when required. But that’s not a very technical solution, isn’t it.