Coding systems again
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Coding systems again         


Author: B. T. Raven
Date: Aug 29, 2008 07:01

I thought I understood coding systems enough to copy-paste between Emacs
and Windows apps but I am no longer able to revert (re-code?) text from
a buffer saved as utf-8 to latin-1. If I have the following in a buffer,
how can I send it in Mozilla Thunderbird as latin-1?

Theodosiô postea imperante rês aliquâtenus in meliôrem statum adductae sunt.

Circumflex diacritics are part of latin-1 if I'm not mistaken but I
always get a warning that message contains characters not found in the
Encoding.
Any help?

Thanks,

Ed
3 Comments
Re: Coding systems again         


Author: Eli Zaretskii
Date: Aug 29, 2008 07:49

> Date: Fri, 29 Aug 2008 09:01:32 -0500
> From: "B. T. Raven" nihilo.net>
>
> I thought I understood coding systems enough to copy-paste between Emacs
> and Windows apps but I am no longer able to revert (re-code?) text from
> a buffer saved as utf-8 to latin-1. If I have the following in a buffer,
> how can I send it in Mozilla Thunderbird as latin-1?
>
> Theodosiô postea imperante rês aliquâtenus in meliôrem statum adductae sunt.
>
> Circumflex diacritics are part of latin-1 if I'm not mistaken but I
> always get a warning that message contains characters not found in the
> Encoding.

What Emacs version are you using? Emacs 22.x ought to use UTF-16
(a.k.a. Unicode) encoding when passing text through the Windows
clipboard, so any native Windows application should be happy with the
result.

Can you try pasting the same text into Notepad? If that works, then
the problem is likely ion Mozilla, not in Emacs.
no comments
Re: Coding systems again         


Author: Peter Dyballa
Date: Aug 29, 2008 08:31

Am 29.08.2008 um 16:01 schrieb B. T. Raven:
> Any help?

A very helpful function is in ps-print or ps-spool: it tells you
which characters can't be printed because they're outside ISO Latin-1
(at least some version 22.x), which has upper and lower case {aeiou}
with (and without) circumflex.

You could also use C-u C-x = to see what actually was pasted. Can
recode give some hints?

--
Greetings

Pete

A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.
no comments
Re: Coding systems again         


Author: B. T. Raven
Date: Aug 29, 2008 09:44

Eli Zaretskii wrote:
>> Date: Fri, 29 Aug 2008 09:01:32 -0500
>> From: "B. T. Raven" nihilo.net>
>>
>> I thought I understood coding systems enough to copy-paste between Emacs
>> and Windows apps but I am no longer able to revert (re-code?) text from
>> a buffer saved as utf-8 to latin-1. If I have the following in a buffer,
>> how can I send it in Mozilla Thunderbird as latin-1?
>>
>> Theodosiô postea imperante rês aliquâtenus in meliôrem statum adductae sunt.
>>
>> Circumflex diacritics are part of latin-1 if I'm not mistaken but I
>> always get a warning that message contains characters not found in the
>> Encoding.
>
> What Emacs version are you using? Emacs 22.x ought to use UTF-16
> (a.k.a. Unicode) encoding when passing text through the Windows
> clipboard, so any native Windows application should be happy with the
> result.
> ...
Show full article (1.58Kb)
no comments