note 63557 added to function.convert-cyr-string

From: Date: Thu, 23 Mar 2006 19:58:39 +0000
Subject: note 63557 added to function.convert-cyr-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-106487@lists.php.net to get a copy of this message
cathody at mail dot ru(27-Jul-2005 06:41) You function doesn't work on my PC.. It's work: function Encode2($str,$type) { $conv=array(); for($x=192;$x<=239;$x++) $conv[u][chr($x)]=chr(208).chr($x-48); for($x=240;$x<=255;$x++) $conv[u][chr($x)]=chr(209).chr($x-112); $conv[u][chr(168)]=chr(208).chr(129); $conv[u][chr(184)]=chr(209).chr(209); $conv[w]=array_reverse($conv[u]); if($type=='w' || $type=='u') return strtr($str,$conv[$type]); else return $str; } ---- Server IP: 66.163.161.117 Probable Submitter: 82.211.152.12 ---- 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/63557 Del: integrated -- http://master.php.net/note/delete/63557/integrated Del: useless -- http://master.php.net/note/delete/63557/useless Del: bad code -- http://master.php.net/note/delete/63557/bad+code Del: spam -- http://master.php.net/note/delete/63557/spam Del: non-english -- http://master.php.net/note/delete/63557/non-english Del: in docs -- http://master.php.net/note/delete/63557/in+docs Del: other reasons-- http://master.php.net/note/delete/63557 Reject -- http://master.php.net/note/reject/63557 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106487) next »