-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Florin Herinean wrote: | By default, java uses the platform encoding. It seems that your | windows machine has a different character encoding than the linux | machine, and that's why it's working. So, you should use the String | constructor with the character encoding.
Thank you , Florin. I was able to get the Unicode to print out to a TextArea perfectly when I changed the encoding to Cp1252 (took me a while to find that encoding setting).
However, I am still having trouble on the Java3D side. Once I read the string in, I am recalling it to set up the image file for an appearance. ~ The images are BMP, so I am using the following JAI code to load the files:
RenderedImage img = (RenderedImage)JAI.create("fileload", filename); RenderedImageAdapter ria = new RenderedImageAdapter(img); BufferedImage buffer = ria.getAsBufferedImage();
If the filename has no Korean in it (I have a few) then the image loads fine. Once Korean characters are thrown into the mix, the above code can't seem to load the BMP file. Does anyone have any suggestions about loading a BMP file w/ a "funky" character set?
Thanks! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAuiGK5qcyxDPLrxARAvfpAKCSAhNlfZ5PqECAcBi8YPQNrH+dRgCeLteq YzKx3fueSQrG8SJG49Fz71U= =AEoT -----END PGP SIGNATURE-----
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".