Fixed UTF problem when inserting strange emojis.