String to Unicode Converter Sites:
http://www.arabunic.free.fr/
http://snible.org/java2/uni2java.html
Requirement was, if attachment is missing we should show error message
Complication was in Arabic Interface when attachment is missing it has value as "لا شيء " which is , "None " in English Interface.
so to store "لا شيء "(directly) in some variable was an issue in Java
Solution was to obtain the unicode for "لا شيء " from the above sites
and then,
String uni = "\u0644\u0627\u0020\u0634\u064A\u0621\u0020" <-------unicode for "لا شيء"
so now we can use variable "uni" in condition to show error message.
http://www.arabunic.free.fr/
http://snible.org/java2/uni2java.html
Requirement was, if attachment is missing we should show error message
Complication was in Arabic Interface when attachment is missing it has value as "لا شيء " which is , "None " in English Interface.
so to store "لا شيء "(directly) in some variable was an issue in Java
Solution was to obtain the unicode for "لا شيء " from the above sites
and then,
String uni = "\u0644\u0627\u0020\u0634\u064A\u0621\u0020" <-------unicode for "لا شيء"
so now we can use variable "uni" in condition to show error message.
No comments:
Post a Comment