all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Elena <egarrulo@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Windows + Eshell: fixing character encoding?
Date: Thu, 30 Jul 2009 16:41:39 +0200	[thread overview]
Message-ID: <6F90358B-1260-45B3-B4A1-AB1BB13BAA66@Web.DE> (raw)
In-Reply-To: <74b47ad1-137f-4e8b-842c-c1de712356d4@k1g2000yqf.googlegroups.com>


Am 30.07.2009 um 15:39 schrieb Elena:

> locale-coding-system is a variable defined in `C source code'.
> Its value is cp1252


This is as wrong as is iso-latin-1. In CP1252 your \205 and \212  
codes are:

	;   oct   dec   hex    UCS2    UTF-8
	;=====================================
	… = 205 = 133 = 85 = U+2026 = E2 80 A6 : HORIZONTAL ELLIPSIS
	Š = 212 = 138 = 8A = U+0160 =    C5 A0 : LATIN CAPITAL LETTER S WITH  
CARON

Use Jason Rumney's recommendation! I can see from ICU files that in  
CP850

	\205 -> [à]  00E0  LATIN SMALL LETTER A WITH GRAVE
	\212 -> [è]  00E8  LATIN SMALL LETTER E WITH GRAVE


GNU Emacsen 22 and 23 allow to re-open a *file* in a new encoding: C- 
x RET r <your choice> RET (Options menu -> Mule -> Set Coding Systems  
-> For Reverting This File Now). Once you saved the faultily looking  
buffer into a (temporary, growing) file (don't kill the buffer) you  
can revert it in a different representation of its internal bits and  
bytes.

--
Greetings

   Pete

Klingons do not believe in indentation - except perhaps in the skulls  
of their project managers.






  parent reply	other threads:[~2009-07-30 14:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-28 10:19 Windows + Eshell: fixing character encoding? Elena
2009-07-28 17:35 ` Eli Zaretskii
     [not found] ` <mailman.3340.1248802527.2239.help-gnu-emacs@gnu.org>
2009-07-29  8:12   ` Elena
2009-07-29 10:23     ` Peter Dyballa
2009-07-29 11:38       ` Elena Garrulo
2009-07-29 16:10         ` Eli Zaretskii
2009-07-29 19:36         ` Peter Dyballa
     [not found]         ` <mailman.3409.1248896205.2239.help-gnu-emacs@gnu.org>
2009-07-30  2:01           ` Jason Rumney
     [not found]         ` <mailman.3394.1248883861.2239.help-gnu-emacs@gnu.org>
2009-07-30 13:39           ` Elena
2009-07-30 14:11             ` Lennart Borgman
2009-07-30 14:41               ` Elena Garrulo
2009-07-30 14:54                 ` Peter Dyballa
     [not found]                 ` <mailman.3482.1248965709.2239.help-gnu-emacs@gnu.org>
2009-07-30 15:05                   ` Elena
2009-07-30 15:49                     ` Peter Dyballa
2009-07-30 18:49                       ` Eli Zaretskii
2009-07-30 14:41             ` Peter Dyballa [this message]
2009-07-30 18:47             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6F90358B-1260-45B3-B4A1-AB1BB13BAA66@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=egarrulo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.