$_GET encoding problem with cyrillic text
- by T1000
I'm trying this code (on my local web server)
<?php
echo 'the word is / ?????? ? '.$_GET['word'];
?>
but I get corrupted result when enter ?word=?????
the word is / ?????? ? ????
The document is saved as 'UTF-8 without BOM' and headers are also UTF-8.
I have tried urlencode() and urldecode() but the effect was same.
When upload it on web server, works fine...