[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 07:16:45 -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: –
>
> It's only an EN DASH, U+2013 (dec 8211, oct 20023).
Looking at it, it's obvious you're right. The author of the email used
it where an emdash should have been used instead. I guess I shouldn't
have blindly assumed the author was correct... should have trusted my
own eyes. Thanks for pointing that out... brings up another issue with
what I'm trying to do.
> There are only a few
> encodings that contain it:
>
> CP1250
> CP1251
> CP1252
> NeXT
> Mac-Greek
> Mac-Cyrillic
> Mac-Roman
> Adobe Standard Encoding
>
> (not complete, I presume). This character has in UTF-8 a representation
> of 0xE2 0x80 0x92, three bytes. It seems that somehow each of this three
> bytes is converted into some three byte representation. A malfunction in
> GNOME? (At least I had once such problems in Fedora Core 1.)
>
> 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).
How do I open up a utf-8 buffer? I'd much prefer to do this just for
this one time, not change my emacs configuration to do it forever.
>
> --
> Greetings
>
> ~ O
> Pete ~~_\\_/%
> ~ O o
>
>
--
"Genius might be described as a supreme capacity for getting its
possessors into trouble of all kinds."
-- Samuel Butler