Skip to main content

lwuit ves reversed arabic string

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-04-07


I am using Lwuit to develop a j2Me application which has to work in english and Arabic
In english works fine but when i change the language to Arabic , the language cahanges but all the afrabic strings are reversed. How do i fix this issue
Any help



Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-11-07

If you are using a system font on a device that supports Arabic this will work seamlessly. If you are targeting some old phones that don't support bidi you can reverse the strings manually using Display.convertBidiLogicalToVisual
Bitmap fonts won't work properly with Arabic due to character shaping which is impractical to accomplish with bitmap fonts.