I have to remove extra lines in an XML. For that I have come to know that tidy is the best option and it works fine for english language file but when I run it for an xml have urdu language text in it, it outputs encoded text like below
<field name="title">یاÛÙˆ
Ù†Û’ Ú©Û’
لیے
Ø®ÙÛŒÛ
طور پر
ای </field>
I am amazed where is the problem.?