/home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Message
NameSizeModeActions
Callback/-0755rm
Response/-0755rm
Shortcode/-0755rm
AutoDetect.php8040644editdlrm
Binary.php11110644editdlrm
Client.php121300644editdlrm
CollectionTrait.php1740644editdlrm
EncodingDetector.php23170644editdlrm
InboundMessage.php59530644editdlrm
Message.php98960644editdlrm
MessageInterface.php3300644editdlrm
Query.php3110644editdlrm
Shortcode.php20530644editdlrm
Text.php7560644editdlrm
Unicode.php9320644editdlrm
Vcal.php9260644editdlrm
Vcard.php9230644editdlrm
Wap.php13490644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Message/EncodingDetector.php (2317B)
convertIntoUnicode(), [ // See: https://en.wikipedia.org/wiki/GSM_03.38#GSM_7-bit_default_alphabet_and_extension_table_of_3GPP_TS_23.038_/_GSM_03.38 '@', '£', '$', '¥', 'è', 'é', 'ù', 'ì', 'ò', 'ç', "\r", 'Ø', 'ø', "\n", 'Å', 'å', 'Δ', '_', 'Φ', 'Γ', 'Λ', 'Ω', 'Π', 'Ψ', 'Σ', 'Θ', 'Ξ', 'Æ', 'æ', 'ß', 'É', ' ', '!', '"', '#', '¤', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '¡', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'Ä', 'Ö', 'Ñ', 'Ü', '§', '¿', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'ä', 'ö', 'ñ', 'ü', 'à', "\f", '^', '{', '}', '\\', '[', '~', ']', '|', '€', ] ); // Split $text into an array in a way that respects multibyte characters. $textChars = preg_split('//u', $content, null, PREG_SPLIT_NO_EMPTY); // Array of codepoint values for characters in $text. $textCodePoints = array_map($this->convertIntoUnicode(), $textChars); // Filter the array to contain only codepoints from $text that are not in the set of valid GSM codepoints. $nonGsmCodePoints = array_diff($textCodePoints, $gsmCodePoints); // The text contains unicode if the result is not empty. return !empty($nonGsmCodePoints); } private function convertIntoUnicode() { return function ($char) { $k = mb_convert_encoding($char, 'UTF-16LE', 'UTF-8'); $k1 = ord(substr($k, 0, 1)); $k2 = ord(substr($k, 1, 1)); return $k2 * 256 + $k1; }; } }