libpynexmo icon indicating copy to clipboard operation
libpynexmo copied to clipboard

Convert sms body to utf-8 before sending request

Open oryband opened this issue 11 years ago • 0 comments

This line will crash if params isn't encoded in utf-8 and if the message body (or other fields) contain some unicode characters (like arabic).

I've noticed this function which does exactly what the title says, except it isn't used anywhere. This should be done before every request is sent.

oryband avatar Dec 03 '14 15:12 oryband