[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with national characters in XHTML
From: |
LENNART BORGMAN |
Subject: |
Re: Problem with national characters in XHTML |
Date: |
Wed, 28 Sep 2005 13:08:03 +0200 |
Ok, thanks for help to all that replied. I tried to learn a bit;-)
Putting iso-8859-1 in the header instead of utf-8 as Tomas Zerolo suggested
solved the problem.
----- Original Message -----
From: Juanma Barranquero <address@hidden>
Date: Wednesday, September 28, 2005 12:44 pm
Subject: Re: Problem with national characters in XHTML
> On 9/28/05, LENNART BORGMAN <address@hidden> wrote:
>
> > I have run into a problem with swedish national characters in an
> XHTML document. The header of the document is like this:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
> > "http://www.w3.org/TR/REC-html40/loose.dtd">
> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
> >
> > The swedish character ä looks like \344 in CVS Emacs (2005-09-23).
>
> Hmm. An XHTML document with encoding="utf-8" should not have "swedish
> national characters" in it, should it? Upon reading the file, Emacs
> will set its coding system to mule-utf-8, so it's no surprise than
> high-bit, non-valid utf8 byte sequences appear as \xxx...
>
> I've created a document with your header, and put an "É" in it with
> notepad. Emacs shows this char as \311. I would not consider this an
> error :)
>
> --
> /L/e/k/t/u
>
- Re: Problem with national characters in XHTML, (continued)
- Re: Problem with national characters in XHTML, Tomas Zerolo, 2005/09/28
- Re: Problem with national characters in XHTML, Kenichi Handa, 2005/09/28
- Re: Problem with national characters in XHTML, Lennart Borgman, 2005/09/28
- Re: Problem with national characters in XHTML, Lennart Borgman, 2005/09/28
- Re: Problem with national characters in XHTML, Tomas Zerolo, 2005/09/29
- Re: Problem with national characters in XHTML, Piet van Oostrum, 2005/09/29
- Re: Problem with national characters in XHTML, Lennart Borgman, 2005/09/29
- Re: Problem with national characters in XHTML, Piet van Oostrum, 2005/09/30
- Re: Problem with national characters in XHTML, Lennart Borgman, 2005/09/30
Re: Problem with national characters in XHTML,
LENNART BORGMAN <=