i tryed changing the windows title and it worked, it could display japanese without problem.
now if i try the same with my jme projects, all i get is garbage …
i have another project which uses Slick (lwjgl based framework too) japanese cannot be displayed either.
for example:
(JME) this fails and display garbage
public class MenuState extends CameraGameState {
private DisplaySystem display;
public MenuState(String name) {
super(name);
display = DisplaySystem.getDisplaySystem();
display.setTitle("Dungeon 3D - Title screen テスト");
}
}
(Slick) this fails too: display garbage
public class Weasel extends StateBasedGame {
public Weasel() {
super("Space Weasel テスト");
}
}
now the same with Swing based program: it work, it display japanese properly
public class TTFtoBitmap implements ActionListener {
public TTFtoBitmap() {
JFrame frame = new JFrame("Font Converter テスト");
}
}
why would this work with swing programs and not jme/lwjgl ones ?