Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to convert the URDU text via ISO/IEC 10646 standard and UTF-16 in c# .Net:

For Example:
http://sms.24cro.com/op_1_4_en.htm[^]

When I paste URDU text in first text box, it gives 100% right result in second text box. This web page converts it properly, but I am not able to do the same in .Net code.
Posted
Updated 4-Oct-11 1:43am
v3
Comments
Sergey Alexandrovich Kryukov 4-Oct-11 4:15am    
Hard to say why. Differences between ISO 10646 and Unicode are subtle: http://en.wikipedia.org/wiki/Universal_Character_Set#Differences_between_ISO_10646_and_Unicode. Is it possible to know what are the differences? What are you "not able to do the same"?
--SA

1 solution

It's likely that you are trying to display the text using a font that does not support the required characters - or that you are not using the correct encoding.
Have a look at Encoding.GetEncoding[^].

Best regards
Espen Harlinn
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900