On Mon, Feb 11, 2008 at 02:08:08PM +0000, MJ Ray wrote:
Chris G cl@isbd.net asked:
What are the rules that govern how a browser (Firefox in particular) decides on what Character Encoding to use?
I found this answer:
"In the case of conflict between multiple encoding declarations, precedence rules apply to determine which declaration wins out. For XHTML and HTML, the precedence is as follows, with 1 being the highest:
1. HTTP Content-Type 2. XML declaration 3. meta charset declaration 4. link charset attribute
"
at http://www.w3.org/International/tutorials/tutorial-char-enc/#Slide0400
That explains it, thank you, it's the "HTTP Content-Type" that's setting ISO-8859-1 presumably, now to find what sets that! OK, that's easy, it's in the apache configuration file.
Thanks again. (I'll try and remember where this is this time, I'm sure I'll get bitten again some time)