Java: problem displaying ü (encoding problem?)

Soldato
Joined
18 Oct 2002
Posts
9,048
Location
London
ARGH! Driving me crazy. I've tried so many ways!
"über";
"\u00FC"+"ber";

Both work fine on windows, but when I get it on the nix server it just outputs as ?ber.

I thought I'd found the solution with this encoding flag:
javac -target 1.5 -encoding UTF-8 package/Class.java

But no dice! Does anyone have any ideas? :( So frustrating! Not to mention it's difficult to quickly test anything.

Any advice appreciated :)
KA
 
Back
Top Bottom