Also try changing the line cs.showText("äöüß");
to String s = "äöüß"; System.out.println(s.length()); cs.showText(s);the output on the console should be 4. If suspect your output will be 8 if my theory is correct.
Tilman
Also try changing the line cs.showText("äöüß");
to String s = "äöüß"; System.out.println(s.length()); cs.showText(s);the output on the console should be 4. If suspect your output will be 8 if my theory is correct.
Tilman