Hello. How can I pass a string containing the Russian text through a GET request to the script so that Russian characters do not turn into cracks? In GH, Opera and MF, everything works, but in IE, as always - no. If not difficult, give a little primerchik. Thank.
I pass a GET request like this:
$a=$_SESSION["login"]; echo urlencode(iconv("CP1251","UTF-8",$a))
I process a GET request like this:
echo iconv("CP1251","UTF-8",$_GET["id"]) ; mb_internal_encoding("UTF-8"); $a = urldecode($_GET["id"]); echo " --> ".iconv("UTF-8","UTF-8",$a) ; $log = strip_tags(trim(mb_strtolower($_GET["id"])));