From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: Problem with national characters in XHTML
Date: Wed, 28 Sep 2005 16:05:03 +0200 [thread overview]
Message-ID: <433AA30F.8050203@student.lu.se> (raw)
In-Reply-To: <E1EKZop-0000dG-00@etlken>
[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]
Kenichi Handa wrote:
>In article <14e4cba14e7621.14e762114e4cba@net.lu.se>, LENNART BORGMAN <lennart.borgman.073@student.lu.se> writes:
>
>
>
>>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). It looks ok in Internet Explorer, but not in Firefox. Looking at the file with Notepad also shows the swedish characters as expected.
>>
>>
>
>
>
>>I would be glad for some hints and pointers! I am using nxml-mode if that matters here.
>>
>>
>
>Could you please send me the whole file?
>
>
I have attached to test files in XHTML, one user utf-8 in the header and
the other iso-8859-1. Those files tells what is displayed in IE and
Firefox and how the swedish character ä was entered (though I guess some
info might be missing for the experts here).
I find this a bit confusing still. What character is entered by Emacs
when I type ä on my swedish keyboard? When I look at the character ä in
Emacs with (following-char) it in both test files returns 2276. Is that
what I would expect in the iso-8859-1 test file? (It starts with <?xml
version="1.0" encoding="iso-8859-1"?>)
[-- Attachment #2: test-xhtml-iso-8859-1.html --]
[-- Type: text/html, Size: 1289 bytes --]
[-- Attachment #3: test-xhtml-utf-8.html --]
[-- Type: text/html, Size: 1859 bytes --]
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2005-09-28 14:05 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 [this message]
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
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
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=433AA30F.8050203@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 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).