|
Posted by Robin on 04/15/06 20:29
Have you tried utf8encode($username)?
RandyTh wrote:
> I am trying to set the japanese characters in this useremail cookie.
> The thing is sometimes the $HTTP_COOKIE_VARS['username'] returns me a
> garbled string;
> Do I have to encode first before I save it in the cookie?
>
> setcookie( "username", $username, time()+3600*24*30*12*5, "/",
> www.mydomain.com, 0 );
>
> SK
>
>
Navigation:
[Reply to this message]
|