Character Encoding Java Win 7 Japanese [message #782033] |
Mon, 23 January 2012 02:06 |
hank mobley Messages: 3 Registered: January 2012 |
Junior Member |
|
|
When I query my Win 7 Japanese system with this:
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Mixer;
public class TestClass {
public static void main(String[] args){
Mixer.Info[] mixers = AudioSystem.getMixerInfo();
System.out.println(mixers[0].toString());
}
}
The output becomes:
????? ???? ?????, version Unknown Version
I have tried the various encoding options in Eclipse. I have installed the Eclipse Japanese language pack. I have also scoured the web for answers - for days! Some answers involved deleting config files in the JRE folder, others were specific to Netbeans or another IDE. Some where Linux/Unix and others Mac. Some were in Japanese, some in English and some Russian. None of them were specific to Eclipse on Win 7 and none of them worked for me.
Thank you in advance for any help.
[Updated on: Mon, 23 January 2012 02:18] Report message to a moderator
|
|
|
|
|
Re: Character Encoding Java Win 7 Japanese [message #782319 is a reply to message #782219] |
Mon, 23 January 2012 14:28 |
hank mobley Messages: 3 Registered: January 2012 |
Junior Member |
|
|
I put together an install of Ubuntu + OpenJDK and compiled my original code:
public class TestClass {
public static void main(String[] args){
Mixer.Info[] mixers = AudioSystem.getMixerInfo();
System.out.println(mixers[0].toString());
}
}
And it worked:
PulseAudio Mixer, version 0.02
I still have no clue what's happening between Windows and Java. It's now quite obviously not an Eclipse issue. I still would appreciate any imput.
[Updated on: Mon, 23 January 2012 14:29] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.08342 seconds