Fix unicode handling (printing to stdout)