Fix unicode corruption