Character encoding problems with Firefox on 7.04

bill purvis bil at beeb.net
Mon Dec 10 19:56:03 UTC 2007


I've been chasing a problem that has been bugging me since
I switched to Ubuntu. I have data which includes the UK pound
sign, and yes you may have seen references to this before,
but it has moved on to another area. The problem now is
viewing the HTML files produced by PHP with FireFox.
In the HTML produced I include:

<meta http-equiv="content-type" content="text/html;
  charset=iso-8859-1" >

(actually all on one line - not that it should matter).
However, when I view the page with Firefox, I find that 
it always switches to UTF-8 which renders my pound characters
as this weird splodge. If I click on View->character-encodings
it displays a menu and I can select "Western (ISO8859-1)"
and then it displays correctly. However, when I move to
a different page it always reverts to UTF-8. Why is it
ignoring my <meta ...> command? How can I get it to
default to ISO-8859-1?

Under Mandrake I was using good old Mozilla which never
seemed to have a problem with this.

Bill
Bill
-- 
+---------------------------------------+
| Bill Purvis, Amateur Mathematician    |
|  email: bil at beeb.net                  |
|  http://bil.members.beeb.net          |
+---------------------------------------+




More information about the ubuntu-users mailing list