note 67981 added to function.mb-convert-encoding
| From: | mac dot com at nemo | Date: | Sat, 08 Jul 2006 14:38:47 +0000 |
| Subject: | note 67981 added to function.mb-convert-encoding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114593@lists.php.net to get a copy of this message | ||
For those wanting to convert from $set to MacRoman, use iconv():
<?php
$string = iconv('UTF-8', 'macintosh', $string);
?>
('macintosh' is the IANA name for the MacRoman character set.)
----
Server IP: 194.109.193.119
Probable Submitter: 194.109.235.68
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mb-convert-encoding.php
Edit -- http://master.php.net/note/edit/67981
Del: integrated -- http://master.php.net/note/delete/67981/integrated
Del: useless -- http://master.php.net/note/delete/67981/useless
Del: bad code -- http://master.php.net/note/delete/67981/bad+code
Del: spam -- http://master.php.net/note/delete/67981/spam
Del: non-english -- http://master.php.net/note/delete/67981/non-english
Del: in docs -- http://master.php.net/note/delete/67981/in+docs
Del: other reasons-- http://master.php.net/note/delete/67981
Reject -- http://master.php.net/note/reject/67981
Search -- http://master.php.net/manage/user-notes.php