On Sun, 8 Oct 2006 00:10:49 +0300, "Ahmad Al-Twaijiry" wrote: > BTW I want to access the (cookie or session) variable from php & > javascript, so I don't think session is a solution > > so again, does anyone know how to resolve the problem so I can write > the cookie output to UTF-8 html page ? > Unless I'm missing something, there is an elegant solution to this. return decodeURIComponent (dc.substring ( ... )); --nfe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php