It’s crazy that, even in Ubuntu Linux, vanilla Firefox 3 still opens .txt files by default as ISO-8859-1 when they are encoded as UTF-8. So, after scratching my head for a while, I tried to trick it with a piece of XML:
<?xml version="1.0" encoding="UTF-8"?>
Yeah. If you use that header as the first line of the .txt file, Firefox will render it as UTF-8.










Don’t feel put upon, it does this in Windows XP as well.
Simon, trying to figure out why firefox is defaulting to ISO-8859-1 for text input and output in a web application.