From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7359f0490709070930k4be2bda8o317a3b4d201c6ef1@mail.gmail.com> Date: Fri, 7 Sep 2007 09:30:08 -0700 From: "Rob Pike" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Acme Edit/tcs and different character sets In-Reply-To: <56a297000709070715v23b71aa3wa32422c0febc61da@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <56a297000709070715v23b71aa3wa32422c0febc61da@mail.gmail.com> Topicbox-Message-UUID: bb06144a-ead2-11e9-9d60-3106f5b1d025 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