Click here to Skip to main content
Rate this: bad
good
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 2:21am
Comments
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.
--SA
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 :-)
--SA
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"?
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 404
1 Nirav Prabtani 268
2 _Amy 230
3 CHill60 170
4 Sergey Alexandrovich Kryukov 166
0 OriginalGriff 8,004
1 Sergey Alexandrovich Kryukov 7,017
2 Maciej Los 4,039
3 Peter Leow 3,738
4 CHill60 2,912


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 24 Aug 2012
Copyright © CodeProject, 1999-2014
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