Click here to Skip to main content
11,411,922 members (63,598 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# .NET VS2010
Hello There,

I have started developing an bilingual windows application in Tamil and English. The problem is i want to type Tamil language into text box, I even changed the font of the text box to Tamil but it displays only empty boxes. I just want to know the method for making the text box accept Tamil font. How to do it for .net windows application.

Thank you...
Posted 23-Aug-12 3:21am
ryanb31 at 23-Aug-12 8:32am
I believe it also depends on the users regional settings in Windows.
Sergey Alexandrovich Kryukov at 23-Aug-12 14:23pm
No, it does not. You can change the UI thread's and other thread cultures on the fly in .NET without any problems.
ryanb31 at 23-Aug-12 14:24pm
I know that. But that does not mean your keyboard will all of the sudden start typing in a character set that you don't have.
Sergey Alexandrovich Kryukov at 23-Aug-12 14:29pm
Sure :-)
Sergey Alexandrovich Kryukov at 23-Aug-12 14:28pm
Tamil is a very popular language so it is supported by most modern systems by default. Look, I'm typing: ஂஃஅஆஇஈஉஊ ... ௰௱௲. And I never installed anything related to Tamil; this is Windows installed with English (US) locale and nothing additional. If I can do it, your code should do it unless you screw up it in some specific way. I have no idea how could you run into this problem, would need to look at your code. Could you create a very short but complete sample, concentrating on just one problem and show it using "Improve question"?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

I guess that the problem comes from your special "Tamil font": is it some odd old font for use with non-Unicode systems? Does it display ASCII characters as if they are Tamil characters? Get rid of that font, take some "normal" font for Unicode characters.

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

  Print Answers RSS
0 OriginalGriff 348
1 Sergey Alexandrovich Kryukov 225
2 Sascha Lefévre 150
3 ProgramFOX 130
4 Maciej Los 110
0 Sergey Alexandrovich Kryukov 8,955
1 OriginalGriff 7,158
2 Maciej Los 3,480
3 Abhinav S 3,248
4 Peter Leow 3,059

Advertise | Privacy | Mobile
Web04 | 2.8.150414.5 | Last Updated 24 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100