Results 1 to 2 of 2
  1. #1
    logic is offline Member
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Question how to print utf8 formatted(.txt) file from DOS mode

    Hi,

    1. How to print UTF8 formatted(.txt) files from DOS mode? It is in tamil language.
    2. I am using aAvarangal font for tamil language in java. I can store it into database as a utf8 characters. When i retrieve it , some of the characters are displayed like '?' on javax.swing components.

    for example when i stored like 'amma' , it retrieved as 'am??ma'

    Please help me to solve it.

    Thanks,

    with regards,
    latha

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    java, dos, utf, and swing are four differing aspects of how a string is printed or shown, is tamil a language of a nation or a dos mode character set or what actually is it?

    "amma", as shown, will print and save to file and dispaly in swing. Your code probably should work in the Locale of your computer's settings. Java compiler only recognize a limited set of characters.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. How to print text file in java(dotmatrix printer)
    By yoganeethi in forum Advanced Java
    Replies: 4
    Last Post: 12-01-2010, 01:45 PM
  2. How to print a HTML file in browser look using JAVA
    By ammameiya in forum Advanced Java
    Replies: 5
    Last Post: 06-25-2010, 02:36 AM
  3. How to print the creation date of a jar file
    By lunarbof in forum Advanced Java
    Replies: 9
    Last Post: 08-22-2008, 06:12 PM
  4. Print the text file and print preview them
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-22-2008, 11:04 PM
  5. Print a picture file
    By oli001 in forum New To Java
    Replies: 0
    Last Post: 11-26-2007, 01:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •