Re: Showing garbage instead of foreign fonts in Mozilla and Firefox?

Roland <[email protected]>
Newsgroups gmane.comp.mozilla.devel.windows
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
On 17-3-2005 1:03, Phillip Pi wrote:

> On 3/16/2005 1:45 AM PT, Roland wrote:
> 
>> On 15-3-2005 23:07, Phillip Pi wrote:
>>
>>> Hello.
>>>
>>> I am trying to figure out why http://bsnet.eu.org/~kris/index.html 
>>> (my friend's site) is showing bunch of unreadable foreign characters. 
>>> If you view it in Internet Explorer v6.0 SP1 (used Windows 2000 SP4 
>>> with all updates), then it is fine. Then, go back to Mozilla and do a 
>>> force reload on the same page, and the foreign characters/fonts show 
>>> up correctly!
>>>
>>> What's going on? Is Mozilla not getting the fonts or something? A 
>>> caching problem? Thank you in advance. :)
>>
>>
>>
>> They displayed OK on the first access in Moz 1.7.5 (Win2000/SP4). I 
>> saw some Hebrew characters in the top right corners, and other foreign 
>> characters in the Slovenian(?) sections on the page. Same with Firefox 
>> 1.0.1 and IE6.
>>
>> Does it happen every time after you close and revisit the page, or 
>> every time after you restart Mozilla. Does visiting the page in IE 
>> cure it, or is a shift reload in Mozilla sufficient?
> 
> 
> It only happens the first time before viewing it in IE6. You can view 
> the discussion from others and me on 
> http://p211.ezboard.com/fantfarmtheantfarmsmessageboard.showMessage?topicID=4322.topic 
> ....
> 
> 
>> What do you see? Do these character simple not appear, or do they show 
>> as rectangular boxes? Both the Hebrew and Slovenian character?
> 
> 
> http://www.blueboard.com/ants/kris_website.jpg is an example I see as well.

That /is/ odd.

Looking a the HTML source, I noted that it has to lines specifying the 
content type and character set:
<meta http-equiv="Content-Type" content="text/html; charset=windows-cp1250">
<meta http-equiv="Content-Type" content="text/html; charset=windows-cp1252">

Browsers might get confused about that.

Further the names of the charsets don't seem to specify existing 
character encodings. At least, the HTML validator complains about it: 
<http://validator.w3.org/check?uri=http%3A%2F%2Fbsnet.eu.org%2F%7Ekris%2Findex.html>.

I guess the proper name should be 'windows-1250' or 'windows-1252' 
(that's what the Validator allows to choose in the encoding input box at 
the top of the result page).

Revalidating with character encoding windows-1250 still reveals a number 
of HTML errors (but I guess most browser don't choke on them): 
<http://validator.w3.org/check?uri=http%3A%2F%2Fbsnet.eu.org%2F%7Ekris%2Findex.html&charset=windows-1250+%28Central+Europe%29>

-- 
Regards,

Roland de Ruiter
   ___      ___
  /__/ w_/ /__/
/  \ /_/ /  \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.