User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 Build ID: 20150629114848 Steps to reproduce: in the html title section of a homepage I can produce utf8 signs except the last one (double curly loop) which is #10175. #10160 (curly loop) or other signs can be seen on the title line of firefox, but not this double loop. Whats wrong? I use firefox 39.0 with linux mint 17 thanx for fixing Actual results: it shows a right arrow instead of Expected results: double curly loop should show up in the title
Could you attach a testcase showing up the issue, please.
Here the code for the wrong utf8 sign 10175: double curly loop <head> <meta charset="UTF-8"> <title><?php print $REX['SERVERNAME'].' ➿ ' .$this->getValue("name"); ?></title> But this one works: curly loop <head> <meta charset="UTF-8"> <title><?php print $REX['SERVERNAME'].' ➰ ' .$this->getValue("name"); ?></title>
The link to attach files to the bug report is here: https://bugzilla.mozilla.org/attachment.cgi?bugid=1182402&action=enter
With FF39 on Win 7, both symbols are rendered fine in the title: CURLY LOOP ➰ data:text/html;charset=utf-8,<title>%26%2310160%3B<%2Ftitle> DOUBLE CURLY LOOP ➿ data:text/html;charset=utf-8,<title>%26%2310175%3B<%2Ftitle>
Component: Untriaged → Layout: Text
Product: Firefox → Core
Summary: wrong utf8 signs in title → Wrong UTF8 signs (double curly loop ➿) in title
Dear Loic, thanx in advance !!) The funy thing is, that your link above (data:text/html;charset=utf-8,<title>%26%2310175%3B<%2Ftitle>) shows a proper double curly loop in the 'TAB' of firefox, but not in the 'TITLE' - using Linux Mint 17 and FF 39 ;) Are there differences between win and lin??? That's a tough one, isn't it? Best regards, Tom
And, Loic, why is your curly loop standing upside down in win as compared to linux?? Best Regards Tom
This is likely to be a bug in the font that's being used to display the window title on the Linux system. You may be able to change the font somewhere in the desktop/theme settings to see if that helps.
Indeed, I see that DejaVu Sans (which may well be what's used on Linux?) has an arrow at that character code. That's surely wrong, given that its Unicode name is DOUBLE CURLY LOOP.(In reply to Tom from comment #9) > why is your curly loop standing upside down in win as compared to linux?? That's a font difference, too. I suppose DOUBLE CURLY LOOP doesn't necessarily specify its orientation, so it could be argued that this is a legitimate design difference between the fonts.
Hi Jonathan, thanx for your quick respond. Do you see the curly loop or the double curly loop pointing downwards or upwards? Kind regards, Tom
Hi Jonathan, I have specified the code as: <meta charset="UTF-8"> What else should I do ?? FF should make no difference between Lin, Win or Mac, shouldn't it? I have not defined dejavue sans in my html-code anywhere ... Where should I possibly specify another character set? Regards Tom
(In reply to Tom from comment #12) > Hi Jonathan, > thanx for your quick respond. Do you see the curly loop or the double curly > loop pointing downwards or upwards? It depends. Checking fonts I happen to have on hand, I see four that support this character (U+27BF). Apple's "Apple Color Emoji" has a downward double loop, while Microsoft's "Segoe UI Emoji" has it upwards. (The same goes for the single CURLY LOOP at U+27B0.) And then there are DejaVu Sans Mono Bold and Menlo Bold, both of which have a right-pointing arrow glyph, which is clearly wrong. Looking around a bit, the EmojiSymbols font used by http://graphemica.com/%E2%9E%B0 and http://graphemica.com/%E2%9E%BF also has a downward loop, as do the images at http://www.fileformat.info/info/unicode/char/27B0/index.htm and ...27BF/index.htm. FWIW, the representative glyphs in the Unicode charts (see http://www.unicode.org/charts/PDF/U2700.pdf) are downward loops, like those in the Apple font. So depending whether you consider the orientation to be an essential feature of these characters, it could be argued the Microsoft font is wrong, or perhaps just a regrettable design choice.
(In reply to Tom from comment #13) > Hi Jonathan, > > I have specified the code as: <meta charset="UTF-8"> > What else should I do ?? FF should make no difference between Lin, Win or > Mac, shouldn't it? Firefox uses the fonts on your system to display characters. The font used by default for window titles, for example, is different on each of these operating systems. Furthermore, if a character (such as ➿) is not supported in the default font being used, Firefox will fall back to a font that does support it so as to be able to display the character. Again, the result will depend on the fonts you have installed. You might (I'm not sure) be able to specify a different default font for window titles as part of your desktop environment (not within Firefox, this would be a desktop configuration setting of some kind), and that might allow you to avoid the bad font you're currently getting. AFAICS, this isn't a Firefox bug, it's a font bug; and possible workarounds will be at the local font configuration level, not within a web page.
Hi Jonathan, that is a very comprehensive answer. Thax al lot. It seems that I have to talk to the font designers. But, can you explain me, why FF shows the arrow in the title, and the proper double curly loop (pointing downwards) in the Tab? Somehow FF seems to know how to display what I want it to display. Do you have an idea why this happens? Or even better, are you able to fix this in the next update of FF? I mean using the same utf-8 code in title and tab? Would be great. Thank you so much. Kind regards Tom
(In reply to Tom from comment #16) > Hi Jonathan, > > that is a very comprehensive answer. Thax al lot. It seems that I have to > talk to the font designers. > > But, can you explain me, why FF shows the arrow in the title, and the proper > double curly loop (pointing downwards) in the Tab? It's using different fonts to display those two different elements. > Somehow FF seems to know > how to display what I want it to display. Do you have an idea why this > happens? Or even better, are you able to fix this in the next update of FF? > I mean using the same utf-8 code in title and tab? No, sorry. It IS using the same utf-8 code (character) in both places, but your system is apparently configured such that the default font used for the title is different from the default font used in the tab. That's an OS or desktop configuration issue, not part of Firefox.
Indeed. The window title isn't even rendered by Firefox; it's rendered by the window manager... But the real bug is in the font being used.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.