From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: Problem with national characters in XHTML
Date: Thu, 29 Sep 2005 16:02:39 +0200 [thread overview]
Message-ID: <433BF3FF.1070602@student.lu.se> (raw)
In-Reply-To: <luachwhub6.fsf@ohana.local>
Piet van Oostrum wrote:
>>>>>>tomas@tuxteam.de (Tomas Zerolo) (TZ) wrote:
>>>>>>
>>>>>>
>
>
>
>>TZ> Ah. You have to distinguish between Emacs's internal representation
>>TZ> (that's possibly the 2276 you mention), which doesn't change (al least
>>TZ> unless you try hard ;) and what is in the file (how Emacs writes or
>>TZ> interprets what it reads). You can change those things changing the
>>TZ> coding system (look for something like `multilingual environment').
>>
>>
>
>By default Emacs uses different internal representations for the "same"
>character in different coding systems. So a iso-8859-1 "ä" is a different
>thing than a utf-8 "ä". This difference will disappear when Emacs switches
>to Unicode internally. For the time being the OP could use Unicode
>unification, if his Emacs version is young enough. I have used this for
>some years now without any problems. Maybe it solves the original problem.
>
>(require 'ucs-tables)
>(unify-8859-on-encoding-mode 1)
>(unify-8859-on-decoding-mode 1)
>
>
The values I have I have in CVS emacs.exe -Q is
(featurep 'ucs-tables) = t
unify-8859-on-encoding-mode = t
unify-8859-on-decoding-mode = nil
Though I do not understand what it means right now ;-)
Evaling (unify-8859-on-decoding-mode 1) does not change the behaviour of
C-q 3 4 4 RET. It still enters a character that (following-char) reports as
2276 (04344, 0x8e4)
I did not notice before that there only seem to be on bit that differs
(see the second figure) - if that in some way matters.
next prev parent reply other threads:[~2005-09-29 14:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-28 8:29 Problem with national characters in XHTML LENNART BORGMAN
2005-09-28 10:19 ` Jason Rumney
2005-09-28 10:22 ` David Hansen
2005-09-28 10:22 ` Paul Pogonyshev
2005-09-28 10:41 ` Tomas Zerolo
2005-09-28 10:44 ` Juanma Barranquero
2005-09-29 11:11 ` Mathias Dahl
2005-09-29 13:28 ` Piet van Oostrum
2005-09-29 13:52 ` Lennart Borgman
2005-09-28 11:09 ` Kenichi Handa
2005-09-28 14:05 ` Lennart Borgman
2005-09-28 19:12 ` Lennart Borgman
2005-09-29 8:43 ` Tomas Zerolo
2005-09-29 13:34 ` Piet van Oostrum
2005-09-29 14:02 ` Lennart Borgman [this message]
2005-09-30 22:15 ` Piet van Oostrum
2005-09-30 23:02 ` Lennart Borgman
2005-10-01 4:29 ` Tomas Zerolo
2005-10-01 11:22 ` Piet van Oostrum
-- strict thread matches above, loose matches on Subject: below --
2005-09-28 11:08 LENNART BORGMAN
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=433BF3FF.1070602@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.