Adds a unicode flag to handle unicode properly.