Closed Bug 452934 Opened 16 years ago Closed 14 years ago

many of the sites does not open.instead strange characters appear like '㱢潤礠獴祬攽'

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: dhruba1, Unassigned)

Details

(Whiteboard: [CLOSEME 2010-11-01])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/2.0.0.7;MEGAUPLOAD 1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/2.0.0.7;MEGAUPLOAD 1.0

it happened in the earlier versions also.after installing 3.02 also it remained

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
I think your Firefox profile somehow has UTF-16 set as the default character encoding.  You can change it in Preferences > Content > Fonts&Colors > Advanced.  I think the default for en-US is "Western (ISO-8859-1)", and the only other sane value for English-language sites is UTF-8.

If I take "㱢潤礠獴祬攽" and run it through the following script, I get "<body style=".

<script>
s = "㱢潤礠獴祬攽";
v = "";
for(i=0;i<s.length;++i) {
  c = s.charCodeAt(i);
  high = Math.floor(c / 256);
  low = c % 256;
  v += String.fromCharCode(high);
  v += String.fromCharCode(low);
}
alert(v)
</script>
I filed bug 453423 for removing 'UTF-16' from the default character encoding options.
I've also been beaten by this bug. Another possible solution would be to render the default encoding easier to find and set, for example in the View/encoding menu.
How did your default encoding get set to UTF-16 in the first place?  Making it easier to set would just result in more people having bogus settings, IMO.
I've changed it by error, while changing the default fonts... 
I later realized that I've had made a mistake, and changed systematically the encoding back to UTF8, without knowing how to switch the default encoding back

I think some people, somewhere in the world, need the default UTF-16. To my feeling, it seems an UI bug. The possibility to change the default encoding should be accessible through the "encoding menu", for example through a "select
default..." option
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.