browser - HTML encoding settings in Firefox

18
2014-04
  • Andrew J. Brehm

    Whenever I open the Jargon File site the encoding is wrong.

    See @-Party entry.

    Every page sets it to "ISO-8859-1" but that doesn't seem to work. Setting the view to "Western" (which is "ISO-8859-1" actually) manually does the trick.

    Any idea what's going on? This happens in both IE and Firefox.

  • Answers
  • Ярослав Рахматуллин

    The file on the server is br0ked.

    Html-verification:

    http://validator.w3.org/check?uri=http%3A%2F%2Fcatb.org%2Fesr%2Fjargon%2Fhtml%2F0%2Fat-party.html&charset=%28detect+automatically%29&doctype=Inline&group=0

    Update

    Since the original answer did not satisfy your curiosity and because my own was marginally intrigued, I looked at the file and found that there is a non-printable "M- " character in there that would correspond to character 223

    Here is how I found it:

    char 223

    Basically, whoever wrote that document made a boo-boo when they processed the file with some tool or whatever. By that I mean they introduced a non-printable character into a text file.


  • Related Question

    ubuntu - Firefox or Chrome - how to force a specific encoding for a page
  • Mike

    I am accessing an intranet site built by amateurs, that was constructed to be "best viewed by IE" (arghhh!). The site is in portuguese. All accented letters are jammed and do not appear as they should. As I create sites myself, I know that the best way to build a site in portuguese and other latin languages is to use the "charset=iso-8859-1" on the page's HTML encoding. This will ensure cross-browser and platforms compatibility.

    But I have no way to change this, because I am a visitor on this site.

    I don't know the encoding they are using. What I ask is: is there a way I can force my browser (Chrome or Firefox) to recode the page using the correct charset? I need this to work on Ubuntu.


  • Related Answers
  • MrStatic

    In Firefox click View->Character Encoding there you can select quite a few options for the encoding.

    Otherwise you could use a greasemonkey script to accomplish this. There are quite a few for various sites on userscript.

  • Mark

    In Chrome, click on the little file icon (near the top right), and select one of MANY encodings from the Encoding menu. (Same idea as what was mentioned for Firefox.)