9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Rob Pike" <robpike@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Acme Edit/tcs and different character sets
Date: Fri,  7 Sep 2007 09:30:08 -0700	[thread overview]
Message-ID: <7359f0490709070930k4be2bda8o317a3b4d201c6ef1@mail.gmail.com> (raw)
In-Reply-To: <56a297000709070715v23b71aa3wa32422c0febc61da@mail.gmail.com>

Acme treats all text as UTF-8. If the input text was ms-kanji, it won't
be UTF-8 and when acme reads it, it will end up full of encoding errors
- represented in UTF-8. Running that UTF-8 text back through
tcs -f ms-kanji will produce gibberish.

You need to use tcs on the raw files before putting them into the editor
(or almost any other Plan 9 tool).

-rob


  parent reply	other threads:[~2007-09-07 16:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 14:15 Noah Evans
2007-09-07 15:32 ` Steve Simon
2007-09-07 16:30 ` Rob Pike [this message]
2007-09-07 17:04   ` erik quanstrom

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=7359f0490709070930k4be2bda8o317a3b4d201c6ef1@mail.gmail.com \
    --to=robpike@gmail.com \
    --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).