Java applet renders french characters incorrectly on Mac

The Mac is running OS X, with Java 1.5.0. The problem manifests in both Firefox and Safari.
Please see image for example of the error.

What could cause such in issue?

Thanks
screen.JPG
LVL 7
photowhizAsked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
0
 
CEHJCommented:
Is it possible for us to test this?
0
 
photowhizAuthor Commented:
Sure enough the mac JVM had MacRoman as the default encoding and Windows was using CP1252. Passing in charset "UTF8" to the String constructor fixed the problem.

Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.