Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a problem on Firefox. As it is already said in the title, some Unicode characters are replaced by weird squares with numbers inside. The thing is that it's only the case on Firefox - not on Open Office, not on Opera.

For example, if I look inside the little box at the bottom of this wikipedia page, I have a different outcome with Firefox and Opera.

What should I do ?

I already followed the advices on these two other threads about a similar problem ("Why only some unicode characters are visible on Firefox?" and "Why does Firefox not render some characters?") ; sadly, that wasn't enough : I already have Arial installed on my computer as well as on Firefox itself, and I also installed Code2000 ; that doesn't change anything. My Firefox settings also seem good.

So where's the problem ?

Thank you already for your help !

Update : I also installed DejaVu and DejaVuLGC, that didn't change anything. In fact, I can force Firefox to use only this font, then some (not all) of the missing characters appear ; but that's not a solution, since Opera doesn't have to do this to display correctly these characters (and some others).

For example, consider this page. With my usual Firefox settings, I see this. When I change them to these radical new settings, I see this. Look at the font of the normal text at the top ; obviously, it is DejaVu ; that isn't ideal : Opera does it better.

share|improve this question
    
The "weird squares with numbers" that Firefox is showing are graphic representations which tell you the code of the character that is there. For instance, the first one, in Lettres additionnelles, is a box with A7 over 8D, which tells you the hexadecimal code, A78D, which a Unicode reference will tell you is 'LATIN CAPITAL LETTER TURNED H' (U+A78D). –  mgkrebbs Dec 27 '13 at 4:22
    
You should specify which page is seen in the screen shots (link to it). By Arial, you probably mean Arial Unicode MS. We don’t have threads here, just questions and answers (and comments to them). –  Jukka K. Korpela Dec 27 '13 at 6:11
    
I couldn't put more than two links in my message because I'm a new superuser member. The page is fr.wikipedia.org/wiki/Alphabet_latin (look in the box called "Alphabet latin" at the bottom). –  Oneyr Dec 27 '13 at 14:14
    
The question is much better defined now! I wonder if you have the Unicode BMP Fallback font, from SIL, installed on your computer. It seems to cause problems like this. –  Jukka K. Korpela Dec 27 '13 at 16:57
    
Nothing with "BMP" or "Fallback" is visible in my fonts list. –  Oneyr Dec 27 '13 at 17:04

1 Answer 1

If you look closely at your screen shot of Opera, you’ll see that there are problems there, too. The characters that are missing on Firefox are missing on Opera, too, they are just replaced by various empty rectangles instead of rectangles with hex numbers in them. The answer to the question about differences is that the browsers handle the missing glyph problem differently.

Firefox actually handles the situation better by displaying an indication (albeit a technical one) about the identity of the character that cannot be rendered. CSS Fonts Module Level 3 CR recommends that, in section 5.2 Matching font styles: “8. If a particular character cannot be displayed using any font, the user agent should indicate by some means that a character is not being displayed, displaying either a symbolic representation of the missing glyph (e.g. using a Last Resort Font) or using the missing character glyph from a default font.”

As regards to the question why some characters are not rendered on either browser, check out the answers to the questions you mentioned. The general answer is that you simply need suitable fonts. For example, the character U+A78D mentioned by @mgkrebbs in a comment is relatively new (Unicode 5.2), and its font support is therefore rather limited. It has not yet been added to Arial Unicode MS, and it will probably never be added to Code2000 (which appears to be abandonware now). In practice, you would probably want to download and install the DejaVu font family to see it.

share|improve this answer
    
Thank you a lot for your support ! It is true that some characters are also missing on Opera, but most of them are handled correctly by Opera and not by Firefox, for example Ỻ, Ꜯ, and ꜳ ; that's why I don't think your solution is the good one. I tried it anyway ; on dejavu-fonts.org/wiki/Download I downloaded (and installed) 2.34/dejavu-fonts-ttf-2.34.zip and 2.34/dejavu-lgc-fonts-ttf-2.34.zip ; nothing has changed. –  Oneyr Dec 27 '13 at 14:12
    
Update : it is weird, but Ỻ and ꜳ (not Ꜯ) appear correctly in my message (only once I send it, not when I'm writing it), but they don't on wikipedia or google. Here's a non-exhaustive list. Not appearing correctly on Firefox and appearing correctly on Opera : Ꝡ, Ꝺ, Ꝣ, Ꝯ, Ꝙ, Ꝿ, Ᵹ, Ꝼ. Appearing correctly on Firefox, but only on this website : Ꜫ, Ꞩ, Ꜿ. Appearing correctly on Firefox, but only on this website, and even when I'm writing my message : Ɦ, Ɀ. –  Oneyr Dec 27 '13 at 14:26
    
Look at the original message's update for more details. –  Oneyr Dec 27 '13 at 15:11
    
I have both images open. While there are a small number of characters not rendered in the Opera version, the vast majority have been fixed. Furthermore, as the OP said, he had to change the font settings to get it even that good in Firefox. Firefox does not seem to be falling back properly. If it weren't for the fact that you only have one upvote, I'd downvote for saying that they are the same. –  trlkly Jun 6 at 7:44
    
@trlkly, I don’t see your point. I did not write “they are the same”. My answer explains the nature of the font selection problem. Please post your own answer or make some contribution in a comment if you have something to add to the analysis. –  Jukka K. Korpela Jun 6 at 10:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.