From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Newsgroups: gmane.emacs.help Subject: encoding Date: Wed, 7 Jan 2009 16:35:51 -0800 (PST) Organization: http://groups.google.com Message-ID: <16d25a74-0f05-4367-9314-6ed7784113be@s9g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231375309 16527 80.91.229.12 (8 Jan 2009 00:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2009 00:41:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 08 01:43:00 2009 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 1LKiz8-0007Bw-3f for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jan 2009 01:42:54 +0100 Original-Received: from localhost ([127.0.0.1]:60421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKixs-0003uG-1H for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jan 2009 19:41:36 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s9g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-NNTP-Posting-Host: 203.95.12.130 Original-X-Trace: posting.google.com 1231374951 5688 127.0.0.1 (8 Jan 2009 00:35:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 8 Jan 2009 00:35:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s9g2000prg.googlegroups.com; posting-host=203.95.12.130; posting-account=wcF3XAoAAADpxbRZm2Z27inMlnZjMIWc User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121623 Ubuntu/8.10 (intrepid) Firefox/3.0.5, gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 localhost.localdomain:3128 (squid/2.5.STABLE6) Original-Xref: news.stanford.edu gnu.emacs.help:165838 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:61169 Archived-At: I would like to ask for advice on encoding issues, and I apologize for coming back to this list when I have asked questions about this in the past. I have gotten by for the most part, but every once in a while I am bitten by an encoding issue. By and large I have no need for multibyte encodings, but I do use diacritic character modifications, and have an occasional need to use greek characters, for example. So I enabled UTF-8 encoding (without really understanding the full extend of what is implied). A the text output of a certain program includes the following. I will show it both as it appears in the terminal and as it appears in an emacs buffer: - emacs: 19.6500=C2=B0 N, 156.0000=C2=B0 W - term: 19.6500=B0 N, 156.0000=B0 W I am using emacs 23.1 (ubuntu intrepid ibex, emacs-snapshot). The following is output from the command C-h C ----------------------------- U -- utf-8-unix (alias: mule-utf-8-unix) Coding system for keyboard input: =3D -- no-conversion (alias: binary) Coding system for terminal output: nil Coding system for inter-client cut and paste: nil Defaults for subprocess I/O: decoding: U -- utf-8-unix (alias: mule-utf-8-unix) encoding: U -- utf-8-unix (alias: mule-utf-8-unix) ---------------% end output-------------- The text in question is from subprocess I/O The following are from my .emacs.el : (standard-display-8bit 160 255) (setq-default coding-system-for-write 'utf-8) I have had trouble with text copied from a browser, which if I remember correctly is why I implemented this default coding-system. Can someone point the way to a simple explanation of the (seeming) complexities of coding-systems for emacs? Or suggest how I can set this up? Thank you Alan