note 34161 deleted from function.strtr by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 06:51:28 +0000 |
| Subject: | note 34161 deleted from function.strtr by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196676@lists.php.net to get a copy of this message | ||
Note Submitter: Sanate at seznam dot cz
----
// Hello to all Czech and Slovak people!
// I hope this function can be useful and easier to find here,
// than at the original source (and opposite direction). :
// http://www.kosek.cz/clanky/tipy/qa07.html
// s pozdravem Filip Rydlo z Pohodasoftware.Cz
function latin2_to_win1250($text) { // chce text v iso-88592
$text = StrTr($text, "\xA\xAB\xAE\xB\xBB\xBE",
"\x8A\x8D\x8E\x9A\x9D\x9E");
return $text;
}