From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <32d987d5050305081127a59da7@mail.gmail.com> References: <32d987d5050305081127a59da7@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Message-Id: <8ad21b52928c25a9a5fe54488a1ae292@ar.aichi-u.ac.jp> Content-Transfer-Encoding: quoted-printable From: arisawa@ar.aichi-u.ac.jp Date: Tue, 8 Mar 2005 15:07:23 +0900 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: [9fans] tcs for unix Topicbox-Message-UUID: 2023629a-ead0-11e9-9d60-3106f5b1d025 Hello, tcs in /sys/src/cmd/unix/ is buggy -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$ -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$ I compiled and tested on OSX. I have not examined yet on other platform. genuine tcs does not have this problem. Kenji Arisawa