I have the following problem. I am trying to replace german umlauts like ä, ö, ü in java. But it simply does not work. Her
Works fine when I try it, so it must be an encoding issue.
Check your system encoding. You may want to add -encoding UTF-8 to your javac compiler command line.
-encoding encoding
Set the source file encoding name, such as EUC-JP and UTF-8. If -encoding is not specified, the platform default converter is used.