Click here to Skip to main content
15,899,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing a windows application in which I want to change the text of textbox to hindi language as the user enters the text for eg if user enters his name in textbox, automatically his name should be displayed in hindi in the label.
Remember its a Offline Application.

Thanks in Advance !!!
Posted
Updated 28-Oct-12 4:24am
v2

1 solution

You can use any transliterator library, for eg: Uniocode Sharp at Codeplex.com

http://unidecode.codeplex.com/[^]
See this too:
C#
string input = "0928;0940;0932;092E;";
Regex rx = new Regex(@"([0-9A-Fa-f]{4});");
string output = rx.Replace(input, match => ((char)Int32.Parse(match.Groups[1].Value, NumberStyles.HexNumber)).ToString());
Output: नीलम 
 
Share this answer
 
v2

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