note 98614 added to function.utf8-encode
| From: | rhill at raymondhill dot net | Date: | Sat, 26 Jun 2010 14:17:09 +0000 |
| Subject: | note 98614 added to function.utf8-encode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-170487@lists.php.net to get a copy of this message | ||
utf8_[encode|decode] will actually translate windows-1252 characters as well, not just from/to
ISO-8859-1 as the documentation says. I assumed it didn't and was puzzled that the output was
mangled due to some characters going through a two-pass conversion to/from UTF8 (mine and that of
utf8_* functions.)
Well, that's how it behaves on Linux flavor of PHP, I didn't check with Windows version.
----
Server IP: 66.207.199.35
Probable Submitter: 74.59.204.182
----
Manual Page -- http://www.php.net/manual/en/function.utf8-encode.php
Edit -- https://master.php.net/note/edit/98614
Del: integrated -- https://master.php.net/note/delete/98614/integrated
Del: useless -- https://master.php.net/note/delete/98614/useless
Del: bad code -- https://master.php.net/note/delete/98614/bad+code
Del: spam -- https://master.php.net/note/delete/98614/spam
Del: non-english -- https://master.php.net/note/delete/98614/non-english
Del: in docs -- https://master.php.net/note/delete/98614/in+docs
Del: other reasons-- https://master.php.net/note/delete/98614
Reject -- https://master.php.net/note/reject/98614
Search -- https://master.php.net/manage/user-notes.php