News for hackers. Stuff that matters.
Re:How To Use UTF-8 Throughout Your Web Stack by justincormack on Friday August 19, 2011 @06:01PM (#2905061)
Sure that works for some things but

1. You know there are no entity names for most unicode characters? Eg Chinese. You may as well use the numeric entity codes 2. In XML the entity names other than lt gt amp and quot are not defined unless you have a dtd, so you should not use them across an xml api, eg for an Atom feed, or across an xml web service, unless it defines a dtd including them which is unlikely. 3. If you get those errors, it is because you have something set up wrong. Those things are fixable. Fixing them will help you understand whats going on better. As the article says, get out your hex...

Re:How To Use UTF-8 Throughout Your Web Stack by blauwbilgorgel on Friday August 19, 2011 @06:16PM (#2905093)
Thank you very much!

If I understand correctly, you are saying to drop the entity names and start using the numeric entity codes. This shouldn't be much of a problem.

I really did bump into problems with an RSS feed and entity names, so another great point. I solved that by wrapping it in <![CDATA[ ]] and using the numeric entity codes (&euml; becomes &#235;), so now I am wondering why I am even mixing entity names and numeric entity codes in the first place.