Click here to Skip to main content
12,697,801 members (25,622 online)
Rate this:
Please Sign up or sign in to vote.
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 23-Aug-12 8:32am
I believe it also depends on the users regional settings in Windows.
Sergey Alexandrovich Kryukov 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 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 23-Aug-12 14:29pm
Sure :-)
Sergey Alexandrovich Kryukov 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 24 Aug 2012
Copyright © CodeProject, 1999-2017
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