all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Piet van Oostrum <piet@cs.uu.nl>
Subject: Re: Problem with national characters in XHTML
Date: Thu, 29 Sep 2005 15:34:05 +0200	[thread overview]
Message-ID: <luachwhub6.fsf@ohana.local> (raw)
In-Reply-To: <20050929084322.GA16219@www.trapp.net> (Tomas Zerolo's message of "Thu, 29 Sep 2005 10:43:22 +0200")

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

-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org

  reply	other threads:[~2005-09-29 13:34 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 [this message]
2005-09-29 14:02           ` Lennart Borgman
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=luachwhub6.fsf@ohana.local \
    --to=piet@cs.uu.nl \
    /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.