• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the Character Encoding for Tamil Language?  RSS feed

 
satishkumar janakiraman
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
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!