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

Re: encoding problems with emacs21

At Tue, 23 Apr 2002 11:44:17 +0200,
Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> wrote:

> > > (but I have some encoding problems with emacs21 (Mew2.2-2 for
> > > example)).
> > 
> > Tell the details, please.
> Emacs seems to have troubles with iso-8859-15, I'll be back to
> iso-8859-1 and see if the problem is still there.

Well, iso-8859-1 is more safe than iso-8859-15.  Emacs 21 without
Mule-UCS can not convert iso-8859-15 into utf-8.  This problem
also relates to CJK, iso-8859-2, etc.  (So, I recommend Mule-UCS.)

Emacs 21 conforms to the locale configuration by default.  If you
prefer another codeset, set language configuration explicitly.
For instance:

  ;; for Latin-1
  (set-language-environment "Latin-1")
  (prefer-coding-system 'iso-8859-1)
  (set-default-coding-systems 'iso-8859-1)
  (set-terminal-coding-system 'iso-8859-1)

  ;; for Latin-9
  ;;;(set-language-environment "Latin-9")
  ;;;(prefer-coding-system 'iso-8859-15)
  ;;;(set-default-coding-systems 'iso-8859-15)
  ;;;(set-terminal-coding-system 'iso-8859-15)

> The problem occurs (iso-8859-15) when I try to save a file with a "ê".
> Emacs does not find the proper encoding to save the file. Well, adios
> EURO sign :-)

I guess that you mixed iso-8859-1 and iso-8859-15 on a single
message.  (utf-8 is used, so the problem occurs.)

I can read a mail encoded with iso-8859-15 as another codeset
(e.g. iso-8859-1) by `C-c C-l' or `C-u C-c C-l' on Mew's Summary
buffer, so I can reply to a mail as iso-8859-1 instead of
iso-8859-15 on Emacs 20/21.

However, I hope to unify iso-8859-1 and iso-8859-15 into a single
codeset (either iso-8859-1 or iso-8859-15, not utf-8) on Mew's
Draft buffer.

I have an ad hoc solution:

  [mew-int 00736] Re: convert

I'm thinking about merging this feature into the future release
of Mew.

Tatsuya Kinoshita

To UNSUBSCRIBE, email to debian-emacsen-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: