note 62788 added to function.convert-cyr-string
| From: | sidor | Date: | Thu, 09 Mar 2006 17:23:50 +0000 |
| Subject: | note 62788 added to function.convert-cyr-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105154@lists.php.net to get a copy of this message | ||
Sorry for my English
100% worked function for convertion string to utf-8. In this implementation support main cyrilic
encodings (cp1251, koi8-r, cp866, mac) For supporting another codepages - just add needed codepage
in $recode array (codes in UCS-4. Add just second part of codetable). Second argument for this
function for cyrilic codepages - like in convert_cyr_string function
('k','w','a','d','m')
Writed in accordance with rfc2279
Created by Andrey A Sidorenko aka sidor
http://sidor.nnov.ru/str2utf.txt
----
Server IP: 195.222.164.18
Probable Submitter: 81.211.95.177
----
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.convert-cyr-string.php
Edit -- http://master.php.net/note/edit/62788
Del: integrated -- http://master.php.net/note/delete/62788/integrated
Del: useless -- http://master.php.net/note/delete/62788/useless
Del: bad code -- http://master.php.net/note/delete/62788/bad+code
Del: spam -- http://master.php.net/note/delete/62788/spam
Del: non-english -- http://master.php.net/note/delete/62788/non-english
Del: in docs -- http://master.php.net/note/delete/62788/in+docs
Del: other reasons-- http://master.php.net/note/delete/62788
Reject -- http://master.php.net/note/reject/62788
Search -- http://master.php.net/manage/user-notes.php