Fix for sending data in unicode characters.