I’ve got some Swing components (a JTextArea and a JList) that have a bunch of strings in them. The strings are often foreign, as in I’ll have accented letters like é ï, etc.
Does anyone know a way I can get Swing to not do retarded character corruption like “Jouer √† √™tre Dieu” instead of “Jouer être Dieu.” If I write the data to a file there is no corruption, so I know it’s got something to do with Swing. I’ve tried changing the Font and that doesn’t seem to help.
Also, this isn’t as important, but it would be nice for ’ to be translated to ’ in the display. However, I don’t want to have to deal with putting in HTML to format it correctly, so putting it into a HTML parsing view is not a good solution.