i have a html form that send a text input data ($query) to a php script
the php script adds it to database ...
in php script i want to change the encode of $_get variable to UTF-8 .
i used htmlspecialchars('$query' ,'','UTF-8);
but it return 0 when i print it ...
any other way ? plz help me