Parsing arabic data in xml



i've a java application that parses xml files each file contains arabic data, the problem that these data comes from the backend with a lot of tabs and spaces and there is no way to change them on backend, and when i'm trying to split such data i found that the order of the words not correct although before removing the tabs the order was fine.


Example



String s="مثال لنفس الحالة";
s.split("/t");

No comments:

Post a Comment