Unicode white space issue in j2me

176 views Asked by At

I have made an app in j2me which uses unicode characters to display my language. i.e. Urdu. Everything works fine expect the issue that it adds some extra spaces at the start of the string, my language is Right to left, it works fine over Nokia mobiles as I think they adjust such issue by OS, but in samsung mobile with a bit less resolution and features it raises that issue. I have tried to remove spaces though but vain. I have added Image along with this post to give you an idea. The string should have been in center while its not. Thanks! its a bit blurry but thats what I got.

Red circle shows spaces

0

There are 0 answers