hopefully this fixes the umlaut problem

Watch out: didn't test it
fixed unicode conversion and syntax error