Bug 148380 - Broken japanese letters in text console mode
Summary: Broken japanese letters in text console mode
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 4
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Martin Vidner
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 13:52 UTC by Takashi Iwai
Modified: 2006-02-22 16:49 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Patch to fix button hotkey with yast2-ncurses in CJK (481 bytes, patch)
2006-02-15 19:53 UTC, Takashi Iwai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Takashi Iwai 2006-02-06 13:52:40 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...
Comment 1 Mike Fabian 2006-02-06 14:08:24 UTC
The same bug already existed in SuSE 10.0.
Comment 2 Takashi Iwai 2006-02-15 19:53:06 UTC
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.
Comment 3 Takashi Iwai 2006-02-15 19:53:59 UTC
Created attachment 68708 [details]
Patch to fix button hotkey with yast2-ncurses in CJK
Comment 4 Takashi Iwai 2006-02-15 19:54:50 UTC
The packages are on mbuild/bari-tiwai-117.
Comment 5 Takashi Iwai 2006-02-17 11:52:08 UTC
PING: The bug still exists on beta4.
Comment 6 Martin Vidner 2006-02-22 16:49:14 UTC
Thanks! Fixed in yast2-ncurses-2.13.10.