Hi,
First of all, a couple of hints.
1. When you see the '?' instead of another character that you expect, it means that the encoding system used to read the bytes could not figure out what the bytes should be mapped to. '?' means encoding problem
2. If you see the square box instead of the character you expect, then it usually means that the font you are using to display the characters does not have a representation for the character that you need to display.
As for solutions, I suggest the following:
1. Try setting the label statically with unicode at compile time to see if you can get it to look right. For example
2. When reading in the characters from the file, make sure that you read
the bytes from the file using the correct encoding. For example:
This means that you need to know the encoding of the file. This could be UTF-8, ISO-* or any of the others supported by java and described at:
http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html Working with international text is not my favourite part of Java programming. But does get easier once you get over a few hurdles.
Best of luck,
Cheers, Jared.