XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 XML on the Web Has Failed
Subject: Oh come on
Date: 2004-07-21 23:43:40
From: Moof
Response to: Oh come on

No one cares?


Try working in some parts of Europe, specifically the ones with the new currency. As a programmer, tryign to work out when that symbol comes up is a bugger. ISO-Latin-1 is dead, but looks indistinguishable from ISO-Latin-9 - you can sort of make an educated guess that anything these day that uses the character which is the euro in Latin-9 is probably a euro, nobody used the previous one, but it's still anoying that you have to write an encoding guesser before converting it all to unicode for use internally.


Of course, Microsoft decided to be annoying and put their euro in some place completely different. What's worse, a lot of clueless people seem to have decided that Microsoft Codepage 1252 is actually Latin-1 and use the terms interchangeably.


There is also much fun for webpages that declare themselves as Latin-1, and might get a euro character by return in a textbox - every browser sends that in a different way, and there is no metadata capable of telling you what encoding the browser used.


No Previous Message Previous Message Move up to Parent Message Up Next Message Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938