[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#395141: konsole: treats some Japanese FULLWIDTH chars as HALFWIDTH

Package: konsole
Version: 4:3.5.5a-2-cjk-wcwidth1
Severity: important
Tags: l10n

Some of Japanese FULLWIDTH symbol chars are treated as HALFWIDTH.

Here's an example utf-8 file.

These chars are shown HALFWIDTH in uxterm without an option.

And uxterm has an option '-cjk_width'. When this option is set, uxterm
treats these chars as FULLWIDTH.

On the other hand, konsole treats these chars as HALFWIDTH.

Then I press Ctrl-l to clear the terminal, there are some garbages
left. So I think that konsole treats these chars as HALFWIDTH.

Additionally, Many Japanese terminal application treats them as
FULLWIDTH by historical reasons. So screen is broken on such

This problem are discussed in KDE bug tracker, and there's a patch to
solve this problem.

I applied the patch against the newest version of konsole, build,
install it and set "KONSOLE_WCWIDTH_CJK" environment variable. Thus
konsole treats these chars as FULLWIDTH.

I think this patch affects only people who set "KONSOLE_WCWIDTH_CJK"
environment variable. So, can you apply this patch? This patch makes
many Japanese konsole users happy.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-suspend2-2.2.8
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages konsole depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-1 core libraries and binaries for al
ii  libc6                  2.3.6.ds1-7       GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-17        GCC support library
ii  libstdc++6             4.1.1-17          The GNU Standard C++ Library v3
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  libxtst6               1:1.0.1-5         X11 Testing -- Resource extension 

konsole recommends no packages.

-- no debconf information

Reply to: