X
Tap here to go to the mobile version of the site.

Support Forum

Force firefox to use unicode

Posted

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.

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: ---- <nowiki><!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> </nowiki> ---- 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.

Modified by cor-el

Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

More Information

Question owner

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.

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.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17476 solutions 157949 answers

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.

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. *https://www.w3.org/International/articles/http-charset/index
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.