Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unicode Character Not Showing

Tags:

People also ask

How do I display Unicode characters?

Inserting Unicode characters To insert a Unicode character, type the character code, press ALT, and then press X. For example, to type a dollar symbol ($), type 0024, press ALT, and then press X. For more Unicode character codes, see Unicode character code charts by script.

How do I fix Unicode box?

Rebooting and making sure that some other program displays Unicode before chrome will fix it. Putting a file on the desktop with a Unicode character in the filename also fixes it because Windows Explorer automatically access the Unicode routines first, before Chrome has a chance to break it.

How do I show Unicode in HTML?

You can enter any Unicode character in an HTML file by taking its decimal numeric character reference and adding an ampersand and a hash at the front and a semi-colon at the end, for example — should display as an em dash (—). This is the method used in the Unicode test pages.


I want to display the "infinity" symbol using

CGContextSelectFont(context, "HelveticaNeue", textSize, kCGEncodingMacRoman);    
CGContextShowTextAtPoint(context, myCenter.x, myCenter.y + textHeight, [sName     cStringUsingEncoding:NSMacOSRomanStringEncoding], [sName length]); 

It is displayed as a square box, or a circle. I have found out this symbol is in decimal 176 and 221E in Hexadecimal format. I am using Helvetica as my font, and have tried others with no luck. Is this a problem with the encoding I am using?