This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

How can I get Firefox to default to Unicode rather that Western ?

  • 8 การตอบกลับ
  • 33 คนมีปัญหานี้
  • 611 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย n0diamond

more options

This is the same question as the unanswered, archived thread https://support.mozilla.org/en-US/questions/989012?fpa=1

Firefox 33.0 displays mojibake+English instead of Japanese+English. It shouldn't matter whether the web page is encoded in ShiftJIS, EUC, raw JIS (though that's rare), or UTF8; all of them should be easy to autodetect.

I can go to the View menu, Character Encoding, and select Japanese, but this should not be necessary. I shouldn't have to teach it to ordinary users.

View - Character Encoding - Auto-detect is off, but even if I set that to Japanese it doesn't help. Hypothetically even if it helped Japanese it wouldn't help Greek.

If I understand correctly there used to be an option View - Character Encoding - Universal, but that option was removed? WTF???????????????????????????????

I've read a few expert opinions that I should change the web server to ... I'm not sure what I should change it to, because looking at the page again it seems that it already says Unicode ... but anyway, I don't think one of Japan's largest transportation companies will let one of their smallest personal individual customers barge in and reprogram their web server.

http://www.sagawa-sgx.com/sgx/trackeng.asp?CAT=AWB&enc=ENG&AWB=25903880-0

This part probably didn't help but shouldn't hurt too much: body{

 background-color:darkblue;
 font-family:Arial;
 font-size:12px;
 background: #ffffff;

}

This part should help, shouldn't it?: <meta http-equiv="Content-Type" content="text/html; charset=unicode">

How can I set auto-detect to use information from the web page, and to turn on auto-detection for web sites that don't say?

This is the same question as the unanswered, archived thread https://support.mozilla.org/en-US/questions/989012?fpa=1 Firefox 33.0 displays mojibake+English instead of Japanese+English. It shouldn't matter whether the web page is encoded in ShiftJIS, EUC, raw JIS (though that's rare), or UTF8; all of them should be easy to autodetect. I can go to the View menu, Character Encoding, and select Japanese, but this should not be necessary. I shouldn't have to teach it to ordinary users. View - Character Encoding - Auto-detect is off, but even if I set that to Japanese it doesn't help. Hypothetically even if it helped Japanese it wouldn't help Greek. If I understand correctly there used to be an option View - Character Encoding - Universal, but that option was removed? WTF??????????????????????????????? I've read a few expert opinions that I should change the web server to ... I'm not sure what I should change it to, because looking at the page again it seems that it already says Unicode ... but anyway, I don't think one of Japan's largest transportation companies will let one of their smallest personal individual customers barge in and reprogram their web server. http://www.sagawa-sgx.com/sgx/trackeng.asp?CAT=AWB&enc=ENG&AWB=25903880-0 This part probably didn't help but shouldn't hurt too much: body{ background-color:darkblue; font-family:Arial; font-size:12px; background: #ffffff; ; } This part should help, shouldn't it?: <meta http-equiv="Content-Type" content="text/html; charset=unicode"> How can I set auto-detect to use information from the web page, and to turn on auto-detection for web sites that don't say?

วิธีแก้ปัญหาที่เลือก

charset=unicode is not a valid parameter value. That should be charset=utf-8 to make Firefox use Unicode.

อ่านคำตอบนี้ในบริบท 👍 4

การตอบกลับทั้งหมด (8)

more options

By default he unicode is selected. In View > Character Encoding > Auto detect can be selected to change this.

more options

"By default he unicode is selected."

It is not. Just now I opened the same page again. The Japanese text is still mojibake. Clicking on the View menu, pointing the mouse cursor at the Character Encoding menu entry, FF 33.0 says that the encoding it's using is Western not Unicode. The meta tag is the same as before: <meta http-equiv="Content-Type" content="text/html; charset=unicode"> but FF doesn't obey it, FF doesn't autodetect, FF displays mojibake.

"In View > Character Encoding > Auto detect can be selected to change this."

The options in Auto detect are (off), Japanese, Russian, and Ukrainian. Wouldn't it be nice to have an (on) option, but other people asked the same question and got no answer. Wouldn't it be nice to have a Universal option, but other people asked the same question, and Universal used to exist but was removed! So if someone's site has a mixture of Greek and Japanese I can't set the default to Universal and FF doesn't autodetect.

View > Character Encoding > Auto detect > Japanese did correct the display of this page, but automatic auto detecting would be better than manual auto detecting. I still doubt whether View > Character Encoding > Auto detect > Japanese would correct the display of a page that is a mix of Japanese and Russian encoded in Unicode with a unicode meta tag.

more options

If the page uses Unicode then this should always work. A fallback is only required if an 8-bit encoding is used (Western or Windows or otherwise). There will only be problems if the server sends an encoding that is not correct for that page.

What matters is what encoding the server sends via the HTTP response headers. If the server sends an encoding then Firefox will always switch to that encoding. The default is only used on pages where the server does not send an encoding via the HTTP response header and the page code doesn't specify the encoding via a meta tag or possible byte order mark in case of Unicode.

more options

For the third time: THE PAGE SENDS A META TAG: <meta http-equiv="Content-Type" content="text/html; charset=unicode"> but FF is auto-defaulting to Western and mojibake.

"If the page uses Unicode then this should always work."

What does the word "this" refer to? The fallback (manual auto-detect setting) worked for this page because this page only contains Japanese and English, and Japanese character sets include the Italian characters that are used in writing English. But, for the third time again, shouldn't FF automatically auto-detect it, and even for manual auto-detecting why was the Universal option deleted?

more options

It will never work automatically in Firefox if the server sends a western encoding via the HTTP response headers and that page is actually UTF-8 and uses characters outside the first 8 bit plane. In such a case you will see the combining Unicode characters. You can see the encoding in Tools > Page Info > General and check the HTTP response headers via the Live Http Headers extension or by using the Web Console (Firefox/Tools > Web Developer).

more options

Shipment Tracking SGX: Address: http://www.sagawa-sgx.com/sgx/trackeng.asp?CAT=AWB&enc=ENG&AWB=25903880-0 Type: text/html Render Mode: Quirks mode Encoding: windows-1252 Modified: 2014年10月22日 12:27:05 Meta (7 tags) Keywords norobot

Robots noindex,nofollow googlebot noarchive googlebot noindex Robots noarchive description SAGAWA GLOBAL EXPRESS Content-Type text/html; charset=unicode

It looks to me like FF is auto-detecting "Encoding: windows-1252" because the page put "charset=unicode" in a META tag.

Internet Explorer 10 displays the page correctly.

more options

วิธีแก้ปัญหาที่เลือก

charset=unicode is not a valid parameter value. That should be charset=utf-8 to make Firefox use Unicode.

more options

OK, I advised a company related to that web site that the meta tag should be changed to: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">