Detect whether certain unicode characters will render properly - blackberry

I am developing a BlackBerry application that displays Malayalam characters. But some devices do not support those characters. For example the 9550 I am testing with displays rectangles instead of the correct character. How can I know whether a device supports Malayalam character rendering?

Related

unicode circles with varying size on ios chrome

I am using the black and white circle in my project when I noticed that on ios chrome the white circle is larger than the black circle.
● - U+25CF
○ - U+25CB
In a desktop environment the circles appear to be the same size but have slightly different heights. The difference is not noticeable.
I am trying to make these circles the same size on ios chrome.
I feel like I have eliminated any variables and that the browser is responsible for the different sizes of these circles.
photo
Actually, as far as unicode is concerned, all characters are font dependant. When a certain character is not available, it is picked from a fallback font.
If you had not configured a custom font, or if these chars are not available in the font you picked then the different sized circles are in the default font used by chrome/ios.
So, you have two ways to go: either find a font that have the characters drawn in a way that suits you, and force that, or give-up using unicode characters for these glyphs and use inline images instead.
You could make use of SVG drawings which can be encoded within the HTML markup itself, that will ensure a consistent look.

How to render the erase-to-left character ⌫ like desktop in iOS?

The erase-to-left character (⌫) (U+232B) is rendered differently on MacOS and iOS:
Is it possible to render it like what's on MacOS in iOS app?
Particular glyphs are included in particular fonts. The "character" (i.e. the glyph) looks the same on iOS and macOS as long you use the same font. Here it is in iOS with the Arial Unicode font installed:

unicode symbol size and shape changed in iOS

I want to use ▾ – BLACK DOWN-POINTING SMALL TRIANGLE in my app, but in reality, the triangle is misshaped and smaller than what is shown on the web browser. Is there a way to keep the size and the shape of this symbol(or unicode symbols in general) exactly the same in Xcode as what they are on the web browser?

Is it possible to change the font size of the app name displayed under the app icon?

I've seen apps that have more characters than mine and displayed fully whereas mine starts to truncate with the "..." after its 10th char.
I know an app on my iPhone that has 14 characters, and they are all displayed without any "...". I noticed that app's app title's fonts are a little bit smaller and the char-spacing in between is much less compared to the other apps.
Unfortunately you can't. The actual size isn't measured by chars because every char has a different width.
Your app name probably has more "boldy" chars that resulting in less char count than the one you mentioned.
BTW
The OS is shrinking app names when it tries to fit it completely under the app icon, but this also has a limit of course.
The font they use for application name is not monospace (or fixed-width). Means, the length of the name depends on the characters: M & W take more space than I & T.
Yes, there is no way to choose the font. But you might come up with a workaround.
As an option you can replace a whitespace with a thinner one as explained here.
Choosing the app name is very difficult. Find a short name. You can also put a part of your app name directly in the app's icon.

How to input emoji from a UITextField and show in a UILabel?

ios5 can input emoji ,i receive the text with some emoji from a UITextField and show them on a UILabel,but the text in the Label are Garbage like "? ?".how can show the text correctly.
Note that iOS and Mac OS X Lion use different unicode code points to represent the same emoji character.
The iOS unicode values are documented here: http://pukupi.com/post/1964/ while the Mac OS X Lion ones are documented in the OS X Character viewer.
For example, a simple smiley face is  i.e. \xe415 on iOS but it is 😄 \x1f604 on Mac OS. You can verify this by looking at this page on both operating systems.

Resources