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

[1315 byte] By [jokksaa] at [2007-11-27 6:23:27]
# 1
Generally, LiveCD Linux distro lacks full-fledged configuration freedom from user. It's just limited. You should cousult the Knoppix documentaion, forum/mainling-list and other appropriate info resources.
hiwaa at 2007-7-12 17:41:26 > top of Java-index,Desktop,Core GUI APIs...
# 2

Well, I've [url=http://www.knoppix.net/forum/viewtopic.php?p=113557]consulted the Forum[/url] at knoppix.net. Seems there are other people experiencing similar problems. However, is this necessarily a Knoppix (and not Java) problem? I find it strange that I am able to type 骧?at the Knoppix terminal prompt, only not within the running Java app...

jokksaa at 2007-7-12 17:41:26 > top of Java-index,Desktop,Core GUI APIs...
# 3

If the LiveCD Linux could use a persistent and updatable Java configuration, especially font.properties or something like that and a font set corresponding to, the problem would not have occured. My advice is don't use LiveCD Linux for serious development and deployment of a serious application. Or, make your own custom LiveCD for your application + Linux or whatever OS.

hiwaa at 2007-7-12 17:41:26 > top of Java-index,Desktop,Core GUI APIs...