Fixed with character encoding bug on osx.