Fix unicode bugs.