XML Tips

Symbols and Encoding

Apache's mod_xslt, when rendering XML with XSLT, seems to only allow encoding in UTF-8 (is it only Apache?). So when you add any non-standard characters (£ for example) you get an odd character before the correct symbol in your browser. (Or is it only galeon?)

To correct this, set your browser to view the page as UTF-8. Sounds simple, but I spent ages trying to find out how to get rid of the silly other character!


CategoryComputingTips