作者: Koichi Yamamoto
日時: 2002/4/18(17:23)
こんにちは、山本です。
# このメールはTSNETだけでなく古川さんや田口さんにもbccしています。
# (TSNET http://rakunet.org/TSNET/)

ActiveStateのJeff Hobbs氏から以下のメールが届きました。
iso2022-jp関連のバグを修正したTcl8.4最新版がSFのCVS上にて
公開されたとのことです。

早速動作確認してみましたが、私が知っている以下の問題は解決した模様です。
皆さんの環境でもぜひ動作確認してみてください。

1. ISO2022-JPにエンコードすると、不適切なescape sequenceで出力されます。
2. fconfigure -encoding iso2022-jpしたchannelからJISテキストを読み込むと、
   1行の長さが約60バイトを越える場合に、約60バイト目以降で文字化けが発生します。 
3. fconfigure -encoding iso2022-jpしたchannelにバッファサイズを越える文字列を
   出力すると、変な場所にescape sequenceが挿入されたりされなかったりします。 
4. 出力時はESB$BではなくESC$@を使ってescape sequenceを切り替えてしまいます。


P.S.
下のメールを読むとTcl conferenceについて何か言及していますね。
高橋さん、いかがでしょう? (^^)


------- Forwarded Message
From: "Jeff Hobbs" <JeffH@...>
To: "'Koichi Yamamoto'" <yamako@...>
Cc: <bitwalk@...>
Subject: RE: FYI (Was: XIM / IME "over-the-spot" support in 8.4 for testing)
Date: Wed, 17 Apr 2002 18:57:41 -0700

> From: Koichi Yamamoto [mailto:yamako@...]
	...
> BTW, I submitted a patch for iso2022-jp conversion problems on 12 March.
> I expect that this problem will be fixed on the future release.
>
>
http://sourceforge.net/tracker/?func=detail&atid=110894&aid=526524&group_id=10
894

I have commited this patch to the 8.4 head.  Please test this at your
convenience.  I believe that this takes care of all known iso2022
encoding problems in Tcl.

BTW, I am also interested to see that there appears to be an entire
hidden contingent of Japanese Tcl/Tk users.  Perhaps someone would be
interested in writing a paper for the next Tcl conference?  See the
link below - it's in September in Vancouver, BC, Canada (direct
flight from Tokyo).

It has always been known that there were users in Asia, but their
presence at conferences have always been ... well, non-existent,
which often makes it hard to advocate focusing efforts on such areas
as XIM, IME and the encoding areas.  Please pass the URL around to
anyone you think that might be interested.

Thanks for your help on this,

  Jeff Hobbs                     The Tcl Guy
  Senior Developer               http://www.ActiveState.com/
      Tcl Support and Productivity Solutions
 Join us in Sept. for Tcl'2002: http://www.tcl.tk/community/tcl2002/


------- End of Forwarded Message

--
Koichi Yamamoto, 
http://www3.ocn.ne.jp/~yamako/