Interviewed by CNN on 11/03/2013 10:14, Gary Montalbine told the world: > I have this website: > http://knottsislandonline.com/kiscrapbook/index.html > > Using seamonkey as my html editor, I have just noticed my charset has > changed to <meta content="text/html; charset=windows-1252" in the new > updates. My default is <meta content="text/html; charset=ISO-8859-1". A > random check of my html files on my harddrive indicates my files are > changed whenever I access them via seamonkey. This has happened sometime > in the last 2 weeks. There has been no change to the html files on the > web that are older than 2 weeks. I have no idea what charset is/means or > it's effect. When I save a file with charset=ISO-8859-1" it is > automatically changed to charset=windows-1252. I have no choice. WHY????? > Thanks, Gary
By declaring a charset, you tell the browser of the website visitor how to interpret the binary codes that make up the HTML. If you declare ASCII, for instance, the browser will consider any character other than the old 7-bit US-ASCII as "invalid". That gives you just 95 printable characters, leaving out all the international characters, like "รก". You would have to resort to character entities like "á" to get the same effect, which is a bit cumbersome. iso-8859-1 is a standard for Western European character encoding. It adds almost a hundred new characters, covering most Western European languages. So by declaring iso-8859-1 you can write in French, Spanish, Portuguese, Italian, German, Dutch etc. without resorting to cumbersome entities, just by typing the words. Windows-1252 is a superset of iso-8859-1. Basically, by declaring windows-1252 you get to use some 32 Windows characters that are forbidden in iso-8859-1, and you lose nothing. This Wikipedia page: http://en.wikipedia.org/wiki/Windows-1252 has an easy-to-understand table right on the top right. Black characters are ASCII, green ones are the ones added by iso-8859-1, red ones are added by windows-1252. Of course, if you want to use other characters, like Greek, Cyrillic, Indian scripts, Thai, Chinese, Japanese, Korean and such, not even windows-1252 will suffice. That's where Unicode comes in, but that's a subject for another time. -- MCBastos This message has been protected with the 2ROT13 algorithm. Unauthorized use will be prosecuted under the DMCA. -=-=- ... Sent from my BBC Micro. * Added by TagZilla 0.7a1 running on Seamonkey 2.16 * Get it at http://xsidebar.mozdev.org/modifiedmailnews.html#tagzilla _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

