NLV
NLV

Reputation: 21657

Change input language for selected Controls

I've a text area in my application. I want to programmatically set the input language for the text area alone without affecting other controls.

Upvotes: 2

Views: 3229

Answers (1)

this. __curious_geek
this. __curious_geek

Reputation: 43217

Unfortunately this can't be done by your program. The user needs to use Unicode keyboard or Input method Editor (IME). Since you're using C#/.Net platform, your program is already capable of dealing with unicode inputs. You just read the value from textbox as

string str = Textbox1.Text

str will contain the unicode input given by the User.

Ex: Look at the text below, I have written the word MICROSOFT in indic language using my Indic-IME. You may notice that there's nothing additionally done on this website to display this text below. It's just my indic language IME.

माइक्रोसॉफ्ट

Some sample unicode IMEs for indian language can be found here..

Upvotes: 1

Related Questions