Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Inconsistency in displaying text which contains mixed Latin and Arabic characters on Series 40 (Known Issue)

From Wiki
Jump to: navigation, search

Description

MIDlet developers must add an extra right-to-left mark (U+200F) character in the beginning of the text that is expected to have most of its characters from right-aligned languages, such as Arabic, Farsi, or Hebrew, intermixed with a few characters from left-aligned languages, such as English or French. This ensures that the characters in such texts are displayed sequentially as specified in the MIDlet's source code beginning from the right edge of the screen.

How to reproduce

For demonstrating the issue, create a MIDlet with a Form and add the following Strings to the form: "form.append("abc\u0626\u0624\u0625\u0625\u0625\u0625\n");" and "form.append("\u200Fabc\u0626\u0624\u0625\u0625\u0625\u0625\n");". The latter String is shown correctly because it has the U+200F character in the beginning of the String.

Solution

No known solution.

This page was last modified on 9 August 2013, at 06:01.
77 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×