Special characters in string

Hi, I need to store a password string containing (swedish) special characters but I dont get it to work:

var myStr = "helloåäö";
System.println(myStr);

At the console I get: 

hello[3][5990667E6676476AA465B8D6F5BAAC86][0]

and the login to the app fails. Do I need to do anything to be able to include swedish special chars in a string variable?