unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@fencepost.gnu.org>
Cc: Heinrich.Rommerskirchen@icn.siemen.de, emacs-devel@gnu.org
Subject: Re: user sees \xxx but is thwarted from searching for them
Date: Wed, 17 Apr 2002 13:18:06 -0400	[thread overview]
Message-ID: <E16xt4I-0005FV-00@fencepost.gnu.org> (raw)
In-Reply-To: <200204171604.g3HG4ob24867@aztec.santafe.edu> (message from Richard Stallman on Wed, 17 Apr 2002 10:04:50 -0600 (MDT))

> From: Richard Stallman <rms@gnu.org>
> Date: Wed, 17 Apr 2002 10:04:50 -0600 (MDT)
> 
>     I was in such a situation yesterday. Normally I use latin-1 encoding but
>     switched to language environment latin-9 to edit some files containing Euro
>     signs and forgot about this change. Then I loaded a 400 line DOS file
>     containing "-*- coding: cp850 -*-" in the first line. Emacs encoded all the
>     umlauts already in the file as latin-1 but encoded the typed umlauts as
>     latin-9. And after minor changes all over the file and a few interruptions
>     I didn't remember which parts were changed and which were old ...
> 
> Does anyone have an idea for what we should do about this?

Help Handa-san make the switch to Unicode ;-)

The problem is that the target charset of cp850 is Latin-1, not
Latin-9.  OTOH, in a Latin-9 language environment, non-ASCII
characters typed by the user are by default converted to Latin-9
characters.

> Does the change to turn on unify-on-encoding fix this automatically?

Yes, as long as the user doesn't type characters that are unique to
Latin-1 and to Latin-9 (like if they use both the currency symbol and
the Euro symbol in the same buffer).  That is, assuming that the
result, probably UTF-8, is not what the users expect.

> Will the switch to native Unicode fix it?

Yes.

      parent reply	other threads:[~2002-04-17 17:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.SUN.3.91.1020416113948.15724C-100000@is>
     [not found] ` <vafn0w329rj.fsf@lucy.cs.uni-dortmund.de>
     [not found]   ` <ur8lfc0uh.fsf@icn.siemen.de>
     [not found]     ` <563-Tue16Apr2002170838+0300-eliz@is.elta.co.il>
     [not found]       ` <un0w3bta9.fsf@icn.siemen.de>
2002-04-17 16:04         ` user sees \xxx but is thwarted from searching for them Richard Stallman
2002-04-17 17:04           ` Stefan Monnier
2002-04-17 17:18           ` Eli Zaretskii [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=E16xt4I-0005FV-00@fencepost.gnu.org \
    --to=eliz@fencepost.gnu.org \
    --cc=Heinrich.Rommerskirchen@icn.siemen.de \
    --cc=eliz@is.elta.co.il \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).