Fixing a character encoding bug.