unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Coding systems again
Date: Fri, 29 Aug 2008 11:44:08 -0500	[thread overview]
Message-ID: <cbmdnWu_t9_RuiXVnZ2dnUVZ_vKdnZ2d@sysmatrix.net> (raw)
In-Reply-To: <mailman.17896.1220021441.18990.help-gnu-emacs@gnu.org>

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


      parent reply	other threads:[~2008-08-29 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=cbmdnWu_t9_RuiXVnZ2dnUVZ_vKdnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --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.
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).