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

[debian-devel:16717] Re: East Asian Width Problem at rxvt-unicode-ml



飛田です。

>>>>> In [debian-devel : No.16702] 
>>>>>	dg-f@xxxxxxxxxxxxxxxxxxxxx wrote:

> On Tue, Mar 27, 2007 at 03:12:36PM +0900, GOTO Masanori wrote:
> > > Ambiguous は unicode.org TR11 (unicode.org/reports/tr11) に記載のもの
> > > です。表示フォントによっても幅が違ってきてしまうので、根本的な対処方法
> > > はありません。
> > > 
> > > 同じようなことを数年前に検討した時のあやふやな記憶ですが、せいぜいロケー
> > > ル毎に指定するよう変更する(例えば ja_JP なら Ambiguous は全角)という
> > > 程度のベストプラクティスしか方法はなさそうです。
> > 
> > 以上は glibc (と wcwidth のような関数を信頼しているアプリケーション側)
> > についてです。端末側では「mlterm -a オプション」のような方法があるかも
> > しれません。

> rxvt-unicode 側では、mlterm のように EastAsianAmbiguous の幅を
> アプリケーションで設定できるようにするつもりはないとのことですので、
> どういう結果になるかわかりませんが、glibc 側の問題として
> 報告してみたいと思います。


http://www.unicode.org/reports/tr11/#Recommendations によると、

;; ja_JP.UTF-8 locale と "East Asian legacy character encodings" との関
;; 係がどうなのかという肝心な点が理解できてなかったりしますが、

5 Recommendations

When mapping Unicode to East Asian legacy character encodings

    * Wide Unicode characters always map to fullwidth characters.
    * Narrow (and neutral) Unicode characters always map to halfwidth characters.
    * Halfwidth Unicode characters always map to halfwidth characters.
    * Ambiguous Unicode characters always map to fullwidth characters.

なので、'Ambiguous .. always map to fullwidth char' が該当するように思
うのですが、これが通らないって事ですよね?


-- 
  Shinichiro HIDA  shinichiro@xxxxxxxxxxxxx
  GPG fingerprint = 5F2D 1656 FFF6 F691 A51C  5E61 E416 D398 470C 1CE9