[quoted text, click to view] On Jul 30, 11:44 pm, "Anthony Jones" <A...@yadayadayada.com> wrote:
> <hamii...@gmail.com> wrote in message
>
> news:1185783518.484842.14530@g12g2000prg.googlegroups.com...
>
>
>
>
>
> > On Jul 29, 7:33 pm, "Anthony Jones" <A...@yadayadayada.com> wrote:
> > > <hamii...@gmail.com> wrote in message
>
> > >news:1185723413.831110.190460@z28g2000prd.googlegroups.com...
>
> > > > Hi All ...
> > > > How can you set asp response cookies to unicode language like chinase,
> > > > arabic, etc...
> > > > For your information; response cookies by default is english, if you
> > > > use it by default it will print any unicode letters to ?
> > > > quationmark ...
>
> > > > Waiting Your Solutions ............
>
> > > <%@codepage=65001%>
> > > <%
> > > Response.CharSet = "UTF-8"
>
> > > Save your page in UTF-8 encoding.
>
> > > You need to be sure that any page consuming the cookie is likewise set
> to
> > > the 65001 codepage.
>
> > > --
> > > Anthony Jones - MVP ASP/ASP.NET
>
> > Not worked fine for arabic "1256" ?
>
> I'm not sure whether that is a statement or a question. UTF-8 works for any
> characters from any language.
>
> --
> Anthony Jones - MVP ASP/ASP.NET- Hide quoted text -
>
> - Show quoted text -
Thank you for your interaction with me mr anthony ....
the problem still not solved,
this my script:
<%@language="vbscript" codepage="65001"%>
<%
response.charset = "UTF-8"
response.cookies("hamied")="hamied "
response.write request.cookies("hamied")
%>
it return:
"hamied" without " " !!!! (i don't know if arabic characters will
appear on your computer properly.)
that is mean, it return english letters & miss arabic one !!!
any idea?