Re: [PHP] set cookie with non-english

2006-10-09 Thread Nisse Engström
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 ? >

Re: [PHP] set cookie with non-english

2006-10-09 Thread Richard Lynch
On Sat, October 7, 2006 4:10 pm, 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 ? I don'

Re: [PHP] set cookie with non-english

2006-10-07 Thread Ahmad Al-Twaijiry
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 ? On 10/5/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, October 3,

Re: [PHP] set cookie with non-english

2006-10-05 Thread Richard Lynch
On Tue, October 3, 2006 11:18 pm, Ahmad Al-Twaijiry wrote: > I already made the application with cookies, it's will be very > defaucalt to go and replace cookies with session, > > is it possible to use cookies & session in the same time ? ( > session_start() & setcookie in the same page ?) Sure...

Re: [PHP] set cookie with non-english

2006-10-03 Thread Ahmad Al-Twaijiry
I already made the application with cookies, it's will be very defaucalt to go and replace cookies with session, is it possible to use cookies & session in the same time ? ( session_start() & setcookie in the same page ?) On 10/3/06, Richard Lynch <[EMAIL PROTECTED]> wrote: You'll have to rea

Re: [PHP] set cookie with non-english

2006-10-03 Thread Richard Lynch
You'll have to read the cookie spec to confirm, but I'm pretty sure it either specifically disallows other charsets, or at least predates the globalization/i18n efforts... IOW, you can't... You COULD just use session_start() and let them have the PHP cookie, and then store whatever string you wan