• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unicode support for Tamil language

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone:

I am creating a very simple application using Swing, and text file based db. I would like to input and output strings in Tamil language, can anyone please help me with this, I googled and was not very helpful.

I found sites that help writing and reading from text file using unicode, but what is the unicode encoding name in java for Tamil (or it doesn't support??). And, also in the text area, is it possible to see tamil strings as it is being typed? please help me with this. Thanks in advance
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

There is no special encoding in Unicode for any particular language; "UTF-8" should do nicely.

TextArea can display any characters, as long as you have a font that contains them, but you probably have one already.

You may find his article helpful in learning about Unicode.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I also want to display information in tamil it may be a simple command line application.
I also need to know that whether corresponding font should be installed or not?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://en.wikipedia.org/wiki/Everson_Mono claims to support Tamil. You might also try Microsoft's Arial Unicode, which can be installed from the Microsoft Office CDs.

Since you're talking about a command line application, note that most consoles/terminals don't support Unicode, so make sure that the one you're using does.
 
passwords must contain 14 characters, a number, punctuation, a small bird, a bit of cheese and a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic