I am trying to apply heading styles as there are in MS Word by extracting the rtf strings of their heading styles. Actually, rtf string works well for the English text and applies formatting to it but when its applied to Urdu Text, it gives formatted "????".
Let me explain you guys from example:
I select the word written in Urdu as "اللغة العربية" and i have already an rtf string containing the rtf of heading style of MS Word as:
{\rtf1\ansi\ansicpg1252... "اللغة العربية"...}
in which i am adding this string so to get a formatted string.
But instead of giving me the formatted اللغة العربية, it gives formatted question marks "????" which i think is an encoding or font problem. So kindly tell me as how to apply rtf string to Urdu to get formatted text?