Fix for sending data in unicode