This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the Character Encoding for Tamil Language?  RSS feed

 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have written a simple program that will accept a command line arguements. I am passing Tamil characters as command line arguements. But the output is displayed ???. . I have set . I am sure this is not the correct encoding for Tamil Language. I tried Chinese GB2312 , It works fine.

Please let me know the correct encoding for Tamil Language.

bye for now
sat
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on what encoding the characters are in you're passing to the application. If they are encoded in UTF-8, then that's what the program needs to use to decode them. If they're in GB2312, then that's would it should use.
There is no single correct encoding for any language, just more or less commonly used ones, some of which the JDK implements. UTF-8 often works well, but if your input method supports something else that works, great! You're all set.
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

Thanks for your information

bye for now
sat
 
I'm still in control here. LOOK at this tiny ad!
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!