Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to locate and display a Unicode character in iOS

Tags:

ios

unicode

I'm currently using an star/asterisk character to separate syllables in a vocabulary quiz program. But, I would prefer to use a black dot that sits about midway between the top and bottom of the line height. So, my questions are

1) How do I find the unicode for this character?

edit: from wikipedia, it looks like the character might be "middle dot", U+00B7

2) How do I display it?

like image 808
Jack BeNimble Avatar asked Oct 19 '11 20:10

Jack BeNimble


People also ask

How do I get Unicode characters on my iPhone?

Adding a Unicode keyboard To install a Unicode keyboard on your iPhone or iPad, launch the App Store and download the free UniChar app. Then launch Settings, General, Keyboard, Keyboards, Add New Keyboard…, and select UniChar from the options.

How do I find Unicode for a character?

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.

How do I type Unicode Apple?

This is a unique “code point,” or hexadecimal (base 16) number within the Unicode world. on newer Apple keyboards or press Command-Control-spacebar to bring it up.) In the Search field, enter the code point and the corresponding character appears.

Does Apple use Unicode?

On your standard Mac keyboard, just type Option and the Unicode number for the character, and the character is applied to whatever text field you're currently typing in. As an example, Mac keyboards have special symbols that indicate Control, Option, and Command (Cmd).


1 Answers

You can just escape unicode characters inside NSString like this:

NSString *string = @"Hi \u00B7 there!";

Here's the great website to reference Unicode codes and how to place them inside programming languages (encodings section).

like image 80
Bartosz Ciechanowski Avatar answered Oct 19 '22 23:10

Bartosz Ciechanowski