Bugzilla – Bug 148380
Broken japanese letters in text console mode
Last modified: 2006-02-22 16:49:14 UTC
YaST shows broken japanese letters in text console mode. The help dialog in the left side looks OK, but the buttons are corrupt. For example, the cancel button shoud appear '[中止(R)]' but it appears '[中止毢R)]'. My wild guess is the highlighting of the acceleration key in the button...
The same bug already existed in SuSE 10.0.
it's because the mismatch of the value returned from find_first_of() and the actual position to be displayed. In NCstring::getHotkey(), find_first_of() is used to identify the hot key position, but it's the number of wide chars, not the column position. The fixed patch is below.
Created attachment 68708 [details] Patch to fix button hotkey with yast2-ncurses in CJK
The packages are on mbuild/bari-tiwai-117.
PING: The bug still exists on beta4.
Thanks! Fixed in yast2-ncurses-2.13.10.