View Full Version : ♠ ♥ ♦ ♣ not displaying on FireFox for Mac?
Sonjaaa
06-22-2007, 06:14 PM
The codes for suits of cards don't seem to be displaying properly on my friend's Mac using FireFox.
How does I fix0r it?
felgall
06-22-2007, 09:44 PM
Install a font onto the computer that has those characters. You might also try substituting the numerical codes for the characters in place of the names in case the browser doesn't recognise the names.
marcas91
06-26-2007, 09:51 PM
why then do they work in safari but not in firefox...i have the exact config on my mac and pc with firefox, and my mac firefox doesn't display &___s correctly but my PC firefox does.
felgall
06-26-2007, 10:56 PM
They are not standard entity names so browsers are not required to understand what they mean. You should be able to fix it by specifying the numeric equivalent entity names.
Arbitrator
06-27-2007, 02:18 AM
They are not standard entity names so browsers are not required to understand what they mean.Those entity names are standardized within the HTML DTDs. See HTML 4.01 Section 24.3.1 (http://www.w3.org/TR/html401/sgml/entities.html#h-24.3.1). Being that they’re defined in a DTD, I’m not certain whether implementations are required to support them though.
I would encode your documents as UTF‐8 so that the characters can be input directly or use hexadecimal character references, which are probably more reliable.
♠ (♠)
♡ (♡)
♢ (♢)
♣ (♣)
♤ (♤)
♥ (♥)
♦ (♦)
♧ (♧)
shane.carr
12-28-2007, 05:44 AM
I have the same problem. I changed the encoding to UTF-8 (by changing the meta "content-type" tag), but neither the number encoding nor the individual characters work. I've attached a picture showing how FireFox 2 for Mac displays the suit characters, in the order spades, hearts, clubs, and diamonds, separated by a <br />.
shane.carr
12-28-2007, 06:23 AM
I did some research and I finally found the bug already reported on Bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=212745
The best solution is simply to enclose the ♦ ♠ etc. in <tt> tags. Ex:
<tt>♦</tt> <!--displays correctly-->
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.