From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] tcs for unix Date: Mon, 7 Mar 2005 23:18:08 -0700 From: andrey mirtchovski In-Reply-To: <8ad21b52928c25a9a5fe54488a1ae292@ar.aichi-u.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 2027a9ae-ead0-11e9-9d60-3106f5b1d025 did you try the tcs that comes with plan9port? it seems to work there: mirtchov@localrob$ cat > a.txt =E3=83=97=E3=83=AD=E3=82=B0=E3=83=A9=E3=83=A0 mirtchov@localrob$ cat a.txt =E3=83=97=E3=83=AD=E3=82=B0=E3=83=A9=E3=83=A0 mirtchov@localrob$ tcs -t ms-kanji a.txt | tcs -f ms-kanji > b.txt mirtchov@localrob$ diff a.txt b.txt=20 mirtchov@localrob$=20 > Hello, >=20 > tcs in /sys/src/cmd/unix/ is buggy >=20 > -bash$ cat a.txt > =E3=83=97=E3=83=AD=E3=82=B0=E3=83=A9=E3=83=A0 > -bash$ tcs -t ms-kanji a.txt |tcs -f ms-kanji > v=E3=83=ADO=E3=83=A9=E3=83=A0 > -bash$ >=20 > -bash$ od -c a.txt > 0000000 343 203 227 343 203 255 343 202 260 343 203 251 343 203 240 \= n > 0000020 > -bash$ tcs -t ms-kanji a.txt |tcs -f ms-kanji|od -c > 0000000 302 203 v 343 203 255 302 203 O 343 203 251 343 203 240 \= n > 0000020 > -bash$ >=20 > I compiled and tested on OSX. > I have not examined yet on other platform. >=20 >=20 > genuine tcs does not have this problem. >=20 > Kenji Arisawa