note 50353 deleted from function.strtr by nlopess
| From: | nlopess@php.net | Date: | Fri, 25 Feb 2005 19:25:27 +0000 |
| Subject: | note 50353 deleted from function.strtr by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-85546@lists.php.net to get a copy of this message | ||
Note Submitter: vertical at burzyk dot no-ip dot com
Reason: useless
----
This function converts string to iso-8859-2 charset:
<?php
function convert_to_iso($string)
{
return strtr($string, "\xA5\x8C\x8F\xB9\x9C\x9F", "\xA1\xA6\xAC\xB1\xB6\xBC");
}
?>