[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-ascii chars in octal in sub-shell windows
From: |
Joseph Brenner |
Subject: |
Re: non-ascii chars in octal in sub-shell windows |
Date: |
Fri, 15 Jan 2010 00:41:35 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Joseph Brenner <doom@kzsu.stanford.edu> wrote:
>> When running a program that outputs utf-8 characters such as u-umlaut,
>> in a terminal window I'll see the actual character, but in an emacs
>> sub-shell I'm seeing the octal form (which looks like: \374).
>
> \374 (252 decimal, FC hex) cannot appear in any valid UTF-8 sequence,
> AFAIK. Are you absolutely sure that program produces UTF-8 encoded
> text?
Oops. Thanks, you've called it right: the problem was not on
the emacs side in this case, but on the script side. (Funny
that my terminal windows aren't respecting my locale's encoding,
but that's something I can live with.)