|
From: | Peter Dyballa |
Subject: | Re: Can't save in iso-8859-13 |
Date: | Mon, 4 Apr 2005 11:10:23 +0200 |
Am 04.04.2005 um 03:19 schrieb Kenichi Handa:
The above script outputs raw bytes 0..255, which is not a valid utf-8 code expected in *shell* buffer. So, Emacs decodes them as raw-byte characters (i.e. characters belonging to charsets eight-bit-control and eight-bit-graphic). If you want to get iso-8859-13 characters in *shell* buffer, you must change the process coding systems of the buffer to iso-latin-7 by C-x RET p iso-latin-7 RET iso-latin-7 RET.
My script indeed produces only raw output, which, to become valid UTF-8, would need an introductory C2 or C3 character. The question is: why were these raw characters converted into valid UTF-8 and why was this not converted into ISO 8859-13 upon inserting into the file buffer? Or at least when saving the file? My usual selection-coding-system seems to be compound-text-with-extensions, open to accept anything.
-- Greetings Pete
[Prev in Thread] | Current Thread | [Next in Thread] |