9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: arisawa@ar.aichi-u.ac.jp
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] tcs for unix
Date: Tue,  8 Mar 2005 15:07:23 +0900	[thread overview]
Message-ID: <8ad21b52928c25a9a5fe54488a1ae292@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <32d987d5050305081127a59da7@mail.gmail.com>

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



  reply	other threads:[~2005-03-08  6:07 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 ` arisawa [this message]
2005-03-08  6:18   ` [9fans] tcs for unix andrey mirtchovski
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=8ad21b52928c25a9a5fe54488a1ae292@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --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).