Check range of Unicode Value of a character In Objective-c... If I have a character like "∆" how can I get the unicode value and then determine if it is in a certain range of values. For example if I want to know if a certain character is in the unicode range of U+1F300 to U+1F6FF Answer: NSString uses UTF-16 to store codepoints internally, so those in the range you're looking for (U+1F300 to U+1F6FF) will be stored as a surrogate pair (four bytes). Despite its name, characterAtIndex: (and unichar) doesn't know about codepoints
undefined
Placing Unicode character in CSS content value I have a problem. I have found the HTML code for the downwards arrow, ↓ (↓) Cool. Now I need to use it in CSS like so: nav a:hover {content:"&darr";} That obviously won't work since ↓ is an HTML symbol. There seems to be less info about these "escaped unicode" symbols that are used in css. There are other symbols like \2020 that I found but no arrows. What are the arrow codes? Solution : Why don't you just save/serve the CSS