From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] tcs for unix
Date: Mon, 7 Mar 2005 23:18:08 -0700 [thread overview]
Message-ID: <bfda4e2c0b4c39e2213c66063e81ac55@plan9.ucalgary.ca> (raw)
In-Reply-To: <8ad21b52928c25a9a5fe54488a1ae292@ar.aichi-u.ac.jp>
did you try the tcs that comes with plan9port?
it seems to work there:
mirtchov@localrob$ cat > a.txt
プログラム
mirtchov@localrob$ cat a.txt
プログラム
mirtchov@localrob$ tcs -t ms-kanji a.txt | tcs -f ms-kanji > b.txt
mirtchov@localrob$ diff a.txt b.txt
mirtchov@localrob$
> Hello,
>
> tcs in /sys/src/cmd/unix/ is buggy
>
> -bash$ cat a.txt
> プログラム
> -bash$ tcs -t ms-kanji a.txt |tcs -f ms-kanji
> vロOラム
> -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
next prev parent reply other threads:[~2005-03-08 6:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-05 16:11 [9fans] /sys/lib/python/_socket.py bug Federico Benavento
2005-03-08 6:07 ` [9fans] tcs for unix arisawa
2005-03-08 6:18 ` andrey mirtchovski [this message]
2005-03-08 6:23 ` andrey mirtchovski
2005-03-08 8:02 ` arisawa
2005-03-08 18:25 ` [9fans] tcs for unixy William Josephson
2005-03-08 22:21 ` arisawa
2005-03-08 22:35 ` Russ Cox
2005-03-09 17:08 ` [9fans] tcs for unix William K. Josephson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfda4e2c0b4c39e2213c66063e81ac55@plan9.ucalgary.ca \
--to=mirtchov@cpsc.ucalgary.ca \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).