* Coding systems again
@ 2008-08-29 14:01 B. T. Raven
2008-08-29 14:49 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: B. T. Raven @ 2008-08-29 14:01 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Coding systems again
2008-08-29 14:01 Coding systems again B. T. Raven
@ 2008-08-29 14:49 ` Eli Zaretskii
2008-08-29 15:31 ` Peter Dyballa
[not found] ` <mailman.17896.1220021441.18990.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2008-08-29 14:49 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Fri, 29 Aug 2008 09:01:32 -0500
> From: "B. T. Raven" <nihil@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Coding systems again
2008-08-29 14:01 Coding systems again B. T. Raven
2008-08-29 14:49 ` Eli Zaretskii
@ 2008-08-29 15:31 ` Peter Dyballa
[not found] ` <mailman.17896.1220021441.18990.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2008-08-29 15:31 UTC (permalink / raw)
To: B. T. Raven; +Cc: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.17896.1220021441.18990.help-gnu-emacs@gnu.org>]
* Re: Coding systems again
[not found] ` <mailman.17896.1220021441.18990.help-gnu-emacs@gnu.org>
@ 2008-08-29 16:44 ` B. T. Raven
0 siblings, 0 replies; 4+ messages in thread
From: B. T. Raven @ 2008-08-29 16:44 UTC (permalink / raw)
To: help-gnu-emacs
Eli Zaretskii wrote:
>> Date: Fri, 29 Aug 2008 09:01:32 -0500
>> From: "B. T. Raven" <nihil@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.
>
>
>
Thanks, Eli and Peter. Part of the problem was a single character Y with
circumflex (Unicode but not Latin-1). I am using Emacs version 22 but
copy paste from Emacs to Thunderbird doesn't covert circumflexed vowels
in Emacs internal representation to Latin-1 in Thunderbird. I got around
the problem with:
C-x ret c
Latin-1
C-x C-w
and then closing buffer and reloading file. It may be something
different with Thunderbird. I recently turned on Autodect > Universal
under View > Character Encoding but I didn't understand what was going
on. Maybe all I have to to is reboot.
Ed
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-29 16:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 14:01 Coding systems again B. T. Raven
2008-08-29 14:49 ` Eli Zaretskii
2008-08-29 15:31 ` Peter Dyballa
[not found] ` <mailman.17896.1220021441.18990.help-gnu-emacs@gnu.org>
2008-08-29 16:44 ` B. T. Raven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).