* Re: user sees \xxx but is thwarted from searching for them
[not found] ` <un0w3bta9.fsf@icn.siemen.de>
@ 2002-04-17 16:04 ` Richard Stallman
2002-04-17 17:04 ` Stefan Monnier
2002-04-17 17:18 ` Eli Zaretskii
0 siblings, 2 replies; 3+ messages in thread
From: Richard Stallman @ 2002-04-17 16:04 UTC (permalink / raw)
Cc: emacs-devel
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?
Does the change to turn on unify-on-encoding fix this automatically?
Will the switch to native Unicode fix it?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: user sees \xxx but is thwarted from searching for them
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
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2002-04-17 17:04 UTC (permalink / raw)
Cc: Heinrich.Rommerskirchen, emacs-devel
> 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?
> Does the change to turn on unify-on-encoding fix this automatically?
It does fix the above case, yes.
> Will the switch to native Unicode fix it?
It will also fix it.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: user sees \xxx but is thwarted from searching for them
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
1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2002-04-17 17:18 UTC (permalink / raw)
Cc: Heinrich.Rommerskirchen, emacs-devel
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-17 17:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
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).