help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacing characters and whacky trans-buffer conversion


From: ken
Subject: Re: replacing characters and whacky trans-buffer conversion
Date: Thu, 08 Mar 2007 15:43:23 -0500
User-agent: Thunderbird 2.0pre (X11/20070214)

On 03/06/2007 11:28 AM somebody named Peter Dyballa wrote:
> 
> Am 06.03.2007 um 16:15 schrieb ken:
> 
>> An email comes in with this (emdash) character in it: –
> 
> ....
> 
> Can you try to paste into an UTF-8 encoding buffer? Its mode-line should
> start with -u: (or -U: in GNU Emacs 23.0.0).

Copying from the endash above and yanked into the urf8 buffer, I get the
same string of garbage which appears when I yank the endash into my *.el
file.  It looks like this:

^[%GX\200\223^[%@

except that the fourth character-- represented above by the X-- is

  character: â (04342, 2274, 0x8e2)
    charset: latin-iso8859-1
             (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100)
 code point: 98
     syntax: word
   category: l:Latin
buffer code: 0x81 0xE2
  file code: 0xC3 0xA2 (encoded by coding system utf-8-unix)
       font: -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO8859-1

when it should be the Greek lowercase beta... as previously discussed.



-- 
"Genius might be described as a supreme capacity for getting its
possessors into trouble of all kinds."
        -- Samuel Butler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]