note 71554 added to function.ord
| From: | Jordan314 at osu1 dot php dot net | Date: | Tue, 05 Dec 2006 20:23:17 +0000 |
| Subject: | note 71554 added to function.ord | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120317@lists.php.net to get a copy of this message | ||
Daniel Vorhauer you are the man, your hex values function fixed my word characters problem where
iconv, mb_convert_encoding, utf8_decode, and other functions failed. I'd been struggling with
Windows-1252 multibyte encoding for months.
I added this to the second to last item of your array:
'/[\x96\x97]/i', // m dash and n dash
And replaced it with '-' to support m and n dashes.
Thank you!
----
Server IP: 64.71.164.2
Probable Submitter: 209.135.152.14
----
Manual Page -- http://www.php.net/manual/en/function.ord.php
Edit -- https://master.php.net/note/edit/71554
Del: integrated -- https://master.php.net/note/delete/71554/integrated
Del: useless -- https://master.php.net/note/delete/71554/useless
Del: bad code -- https://master.php.net/note/delete/71554/bad+code
Del: spam -- https://master.php.net/note/delete/71554/spam
Del: non-english -- https://master.php.net/note/delete/71554/non-english
Del: in docs -- https://master.php.net/note/delete/71554/in+docs
Del: other reasons-- https://master.php.net/note/delete/71554
Reject -- https://master.php.net/note/reject/71554
Search -- https://master.php.net/manage/user-notes.php