Mario netMines wrote:
I have a value like: %u0394%u0397%u03A4%u039C%u039B

Is there a way to decode to normal characters (like javascript's unescape() function)

I think you might want to try mb_parse_str(), although I can't run a quick test for you, because I don't have the multibyte extension enabled in my current build.

I would try something like this:

<?php

$foo = '%u0394%u0397%u03A4%u039C%u039B';
$bar = array();
mb_parse_string($foo, $bar);
print_r($bar);

?>

Hope that helps.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to