Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Rep Power

    Default How do i display foreign languages in the IDE console panel ?

    I'm working in a Windows XP environment, i have the v3.4 Eclipse Platform, i'm using JAVA to interact to a SQL DB that has foreign language data in it.

    I have successfully been able to get the data back and display it in the GUI correctly but I also System.print the retrieved SQL data into the IDE Console panel.

    Nothing but question marks appear where i'm expecting to see the foreign language text. I'm using a simple "System.out.println("Rtrvd text :" + strSQLData);". The strSQLData is the same variable i'm using to display the text properly in the GUI text fields.

    Do i need a special format for foreign languages for the System.out.println statement ?

    Thanks in advance.

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    That sounds like a code page issue in the console. It *may be* the font you are using doesn't support the characters.

    I suggest checking out the Deja Vu font set. It is open source, and the project's goal is to support as much of the Unicode character set as possible. In addition, IMHO, it is a very nice font; I especially like the monospace for text editing. Using that font set *might* solve the problem.

Similar Threads

  1. Replies: 2
    Last Post: 06-07-2012, 09:07 PM
  2. Display graph in tabbed panel
    By Laura Warren in forum New To Java
    Replies: 3
    Last Post: 01-13-2009, 12:34 AM
  3. System.getProperty with foreign language
    By barakz in forum Advanced Java
    Replies: 2
    Last Post: 11-25-2008, 05:28 AM
  4. Replies: 0
    Last Post: 07-22-2008, 04:36 PM
  5. Question about OO in other languages
    By jurka in forum New To Java
    Replies: 1
    Last Post: 07-17-2008, 10:01 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