Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
Merge pull request #200 from jensschulze/Unicode-Variation-Selector-I…
Browse files Browse the repository at this point in the history
…ssue-199

Issue #199
  • Loading branch information
mikebe11 committed Feb 19, 2016
2 parents f466fac + 11c1f84 commit 8a9998b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/php/src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,16 @@ public function toShortCallback($m)

if (!in_array($unicode, $unicode_replace))
{
$unicode = substr($m[1], 0, 4);
$unicode .= "\xEF\xB8\x8F";

if (!in_array($unicode, $unicode_replace))
{
return $m[0];
$unicode = substr($m[1], 0, 4);

if (!in_array($unicode, $unicode_replace))
{
return $m[0];
}
}
}

Expand Down

0 comments on commit 8a9998b

Please sign in to comment.