[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Quiz: How do you put a Euro sign in your data ifyour XML uses windows-1252 encoding and you use a numeric characterreference?
- From: Liam R E Quin <liam@w3.org>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Thu, 28 Feb 2013 19:23:30 -0500
On Thu, 2013-02-28 at 23:00 +0000, Costello, Roger L. wrote:
> <?xml version="1.0" encoding="windows-1252"?>
>
> In the windows-1252 encoding scheme the Euro sign (€) is hex 80.
> €43.00
No. Do not do this.
[...]
> Numeric character references (such as €)
> are interpreted as Unicode characters – no matter
> what encoding you use for your document.
Right. That is because the numeric character references identify
codepoints, not input octet sequences.
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]