From: Araki K. <j00...@ip...> - 2002-03-20 08:10:22
|
荒木です:-) Subject: Re: [Mlterm-dev-ja] ncurses/whiptail/dialog で文字化けします From: Tomohiro KUBOTA <tk...@ri...> Message-ID: <200...@si...> Date: Wed, 20 Mar 2002 02:13:19 +0900 > 2. 「0」など、ISO-2022 で通常使われない文字集合については、G1 では > なく、特別な場所 (G4 とか?) に指示する。SI/SO は G1 ではなく > G4 を呼び出すようにする。 > > などの解決方法が考えられますが、ISO-2022-CN や ISO-2022-KR で > SI/SO が使われているので、だめです。 enacs=\E)0,smacs=^N,rmacs=^O のケースへの対応パッチです。 2 モドキ を採用しました。 理由は、 1. 一番ラクチン 2. この実装であれば、ISO-2022-CN や、ISO-2022-KR でも、\E)0 が流れて くるまでは、正常動作する。 3. Locking Shift を使わないエンコーディングなら、害なく、対応できる。 からです。 今更、termcap や terminfo の設定を変更してもらうのは大変ですし、かと いって、mlterm というエントリを追加してもらうのは、気が引けますんで、 この辺が一番いい妥協点かなーとか思います。 いかがでしょうか? # \E)0 以外の enacs がある場合は、この方法では対応できませんので、 # 知らせてください。 では -- kiken j00...@ip... |