Unicode display problem

C++, C#, Java, PHP, ect...
Post Reply
Mardonis
Posts: 139
Joined: Wed Jun 29, 2011 7:54 pm

Unicode display problem

Post by Mardonis »

I am trying to disdplay a crossed swords picture with the following unicode ⚔
All I see is a blank picture. Here is an example of what i am trying to do.

Code: Select all

<a class="swords">⚔</a>
Any help is greatly appreciated. Thanks.
User avatar
KyleMassacre
Posts: 573
Joined: Wed Nov 27, 2013 12:42 pm

Re: Unicode display problem

Post by KyleMassacre »

Hmm I don't know. I tried it on phpfiddle, and jsfiddle and it worked:
https://jsfiddle.net/mfon4ey1/
I tried Both ISO and UTF-8 and they both showed up fine in phpfiddle. I had to try it there because my laptop broke down so I don't have a computer so I can't effectively troubleshoot anything
Mardonis
Posts: 139
Joined: Wed Jun 29, 2011 7:54 pm

Re: Unicode display problem

Post by Mardonis »

What browser did you try it on. i accidently just tried it on IE with the fiddle you gave and it worked. Then i realized i wasnt in Chrome which is what i mainly use during my projects. So I tried verifying if it works in Chrome with the fiddle and all i get is a square box in place of the picture. Is there a reason why chrome doesn't display unicode or am I missing something?
Mardonis
Posts: 139
Joined: Wed Jun 29, 2011 7:54 pm

Re: Unicode display problem

Post by Mardonis »

Just checked with Firefox and that works. Looks like it is only Chrome that is not working. Still can't figure out why it's not displaying properly.
Mardonis
Posts: 139
Joined: Wed Jun 29, 2011 7:54 pm

Re: Unicode display problem

Post by Mardonis »

Just happened to find this:
https://code.google.com/p/chromium/issu ... &id=42984

5 years old and still an issue. Still in active mode. This is ridiculous.
User avatar
KyleMassacre
Posts: 573
Joined: Wed Nov 27, 2013 12:42 pm

Re: Unicode display problem

Post by KyleMassacre »

I am using chrome but in iOS
Post Reply

Return to “Coding”