Force firefox to use unicode
I've had a problem on a particular page on my website that has resisted all attempts at analysis and fixing for years: the page renders in Western font in my FF browser (in all my PCs), whilst in a colleague's browser (from another country) it renders fine in Unicode. It also renders fine in Unicode on my PC when using Chrome, and Edge, and Opera. Only Firefox is a problem.
I would be happy if I could just tell FF to render every single page I ever visit in Unicode by default. But I have go to View > Text Encoding > Unicode every single time I visit this page.
For info, I'll paste everything in the page before the <body> tag:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>xxx</title> <base href="https://www.xxx.com/templates/en/admin/Gross_Profit_Reports.html"></base> <link rel="stylesheet" href="css/reset.css?revision=1794" type="text/css" /> <link rel="stylesheet" href="css/text.css?revision=1794" type="text/css" /> <link rel="stylesheet" href="css/style.css?revision=1794" type="text/css" /> <link rel="shortcut icon" href="https://www.xxx.com/templates/en/images/favicon.gif" /> <script src="../js/jquery-1.9.1.min.js" type="text/javascript"></script> <script src="../js/jquery.stickytableheaders.min.js"type="text/javascript" charset="utf-8"></script> <script src="../js/sspextras.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" src="../js/common.js"></script> <meta charset="utf-8"></head>
Although we use <meta charset="utf-8"> now, we've previously had it as <meta http-equiv="Content-Type" content="text/html; charset=utf-8">, but that has been similarly unsuccessful.
I'm happy to make changes on the browser side in the webpage, but I really want to solve this. Grateful for any help.
글쓴이 cor-el 수정일시
모든 댓글 (5)
Ho-hum... all the lines below 'For info' were neatly formatted when I posted the message, but now they're messedup. I'll try again.
For info, I'll paste everything in the page before the <body> tag:
--- <title>xxx</title> <base href="https://www.xxx.com/templates/en/admin/Gross_Profit_Reports.html"> <link href="css/reset.css?revision=1794" rel="stylesheet" type="text/css"> <link href="css/text.css?revision=1794" rel="stylesheet" type="text/css"> <link href="css/style.css?revision=1794" rel="stylesheet" type="text/css"> <link href="https://www.xxx.com/templates/en/images/favicon.gif" rel="shortcut icon"> <script src="../js/jquery-1.9.1.min.js" type="text/javascript"></script> <script charset="utf-8" src="../js/jquery.stickytableheaders.min.js" type="text/javascript"></script> <script charset="utf-8" src="../js/sspextras.js" type="text/javascript"></script> <script src="../js/common.js" type="text/javascript"></script> <meta charset="utf-8"> ---
Although we use <meta charset="utf-8"> now, we've previously had it as <meta content="text/html; charset=utf-8" http-equiv="Content-Type">, but that has been similarly unsuccessful. I'm happy to make changes on the browser side in the webpage, but I really want to solve this. Grateful for any help.
What matters to Firefox is what content type the server send for this file. If the server is configured to send and 8 bit Western or Windows code then Firefox will use this encoding. Firefox only uses the encoding in a meta tag if the server doesn't send an encoding. Best is to ensure that the server send content type Unicode.
I used to be able to go to Tools and Choose Text Encoding for the choice: Unicode. Now that Firefox updated my browser because it was opening too slowly, I have lost that Option. I cannot even find a place to go to look at choices for Text Encoding. This is more than annoying. I use Juno Webmail online and all emails that go out are embedded with jumbly mixtures of letters and signs inbetween the words. I am not extremely tech savvy and I really need a simple fix for this new problem which was a fixable problem in the past. Help.
I'm not sure I'll be able to help, Rabea, but could you post a sample of the annoying text embedded with jumply mixtures of letters and signs in-between the words? It may help to understand what's happening. A screenshot could be useful too.
This is probably about seeing the combining Unicode byte because a Western or Windows encoding is selected.
You can find "Text Encoding" in the View menu and in the "3-bar" Firefox menu button drop-down list under "More" further down in the list.