switch utf16 strings to html character entities
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.markdown
example.php
utf16_convert.php

README.markdown

Converts stuff. Tweets seem to have these strings.

Here\u2019s an apostrophe!

... becomes ...

Here’s an apostrophe!

Note: I have no idea if this is an official format for "UTF-16". It just happened to be the format of a lot of strings I needed to convert on a recent project.