prawnsalad/Nexmo-PHP-lib — pull request #1 by deceze (2011-10-24 10:07:24+00:00)
Title: Fix for UTF-8 strings

`utf8_encode` converts an ISO-8859-1 encoded string to UTF-8. That does nothing for ASCII-only text and completely garbles actual UTF-8 encoded text. So far this library was not able to send "international" text, at best only the 256 ISO-8859-1 characters.

Fixing this by only *checking* for UTF-8 validity without touching the string.