grejon04 Posted May 1, 2008 Share Posted May 1, 2008 I know many of us have dealt with the 'curly text' resultant from cut/pasting from Microsoft Word. The new version of Office seems to be in full swing now, and I'm starting to see a new strain of 'super' curly text, usually about 10-12 characters long per character... So far these things have eluded all of my string replacing, conversion, and cleaning functions. Has anyone else found a way to clean them up effectively? Link to comment https://forums.phpfreaks.com/topic/103725-new-gibberish-characters/ Share on other sites More sharing options...
effigy Posted May 1, 2008 Share Posted May 1, 2008 How are these coming across (being encoded)? For example: <pre> <?php echo $data = '“testing”'; echo '<table border="1">'; foreach (str_split($data) as $char) { echo "<tr><td>$char</td><td>"; echo dechex(ord($char)); echo '</td></tr>'; } echo '</table>'; ?> </pre> Link to comment https://forums.phpfreaks.com/topic/103725-new-gibberish-characters/#findComment-531085 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.