Skip to content

Instantly share code, notes, and snippets.

@thlib
thlib / gist:7511078
Last active December 28, 2015 13:58 — forked from ceejayoz/gist:139687
$text = str_replace(chr(130), ',', $text); // baseline single quote: ‚
$text = str_replace(chr(131), 'NLG', $text); // florin: ƒ
$text = str_replace(chr(132), '"', $text); // baseline double quote: „
$text = str_replace(chr(133), '...', $text); // ellipsis: …
$text = str_replace(chr(134), '**', $text); // dagger (a second footnote): †
$text = str_replace(chr(135), '***', $text); // double dagger (a third footnote): ‡
$text = str_replace(chr(136), '^', $text); // circumflex accent: ˆ
$text = str_replace(chr(137), 'o/oo', $text); // permile: ‰
$text = str_replace(chr(138), 'Sh', $text); // S Hacek: Š
$text = str_replace(chr(139), '<', $text); // left single guillemet: ‹