From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joseph Brenner Newsgroups: gmane.emacs.help Subject: Re: non-ascii chars in octal in sub-shell windows Date: Fri, 15 Jan 2010 00:41:35 -0800 Message-ID: <873a27ep4w.fsf@kzsu.stanford.edu> References: <87aawgdpcj.fsf@kzsu.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263548498 17493 80.91.229.12 (15 Jan 2010 09:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2010 09:41:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 15 10:41:31 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVigM-00069u-TA for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jan 2010 10:41:31 +0100 Original-Received: from localhost ([127.0.0.1]:58096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVigN-0007qF-OM for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jan 2010 04:41:31 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.rawbandwidth!news.posted.rawbandwidth.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 15 Jan 2010 02:40:54 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:PX1LSy37lYjyMg2prRRwQ036O4E= Original-Lines: 17 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 198.144.208.84 Original-X-Trace: sv3-zIxcruRHUz2rBghuJxbPJwaWv4XphigfBGoD4yR3ZOVkovkHEg1OfSp/N8Uci9rLqcgg/irXJ/JVVH5!JWZ1QELGoOg1l5PB3FAK6eJcmJ3ydN/fPKdDWEskTBstN5rE+yA0vlRbFqlOSUtlY9l1jwiunbg= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:176166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71237 Archived-At: Eli Zaretskii writes: >> Joseph Brenner 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.)