Int'l characters into JTextPane
I am working on a Java project (in NetBeans 5.5) under Linux (Fedora). When I enter some text into a JTextPane, the characters are displayed correctly -- including international chartacters like '?, '?, and '?.
However, the program is to be run on Knoppix (Live-CD, minimal Linux distr)! The configurations (and home dir) is stored on an USB disk. First off, in the terminal prompt, I am able to type accented characters, so it seems the System is configured correctly (under Keyboard).
Also,the Java program writing to the pane works fine:
msgField.setText("骧?test");// this is displayed correctly
However, when I type from the keyboard into the Java program, all accented characters (including ? ? ? ? etc) are displayed as boxes. And if I echo the contents of the pane to terminal, I simply get question marks:
System.out.println(msgField.getText());// this is displayed as "? test"
- Also the correctly displayed characters (via setText) are echoed as question marks...
Does anyone have any tips on how to fix this? I have tried installing MSTT core fonts (from Windows) on the Knoppix USB disk... Any help greatly appreciated!
- Joakim
Norway

