Question For ASP veterans

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 ............
hamiiied [ So, 29 Juli 2007 17:36 ] [ ID #1781354 ]

Re: Question For ASP veterans

<hamiiied [at] gmail.com> wrote in message
news:1185723413.831110.190460 [at] 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 ............
>


<% [at] 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
Anthony Jones [ So, 29 Juli 2007 18:33 ] [ ID #1781358 ]

Re: Question For ASP veterans

On Jul 29, 7:33 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> <hamii... [at] gmail.com> wrote in message
>
> news:1185723413.831110.190460 [at] 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 ............
>
> <% [at] 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" ?
hamiiied [ Mo, 30 Juli 2007 10:18 ] [ ID #1782048 ]

Re: Question For ASP veterans

<hamiiied [at] gmail.com> wrote in message
news:1185783518.484842.14530 [at] g12g2000prg.googlegroups.com...
> On Jul 29, 7:33 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> > <hamii... [at] gmail.com> wrote in message
> >
> > news:1185723413.831110.190460 [at] 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 ............
> >
> > <% [at] 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
Anthony Jones [ Mo, 30 Juli 2007 22:44 ] [ ID #1782055 ]

Re: Question For ASP veterans

On Jul 30, 11:44 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> <hamii... [at] gmail.com> wrote in message
>
> news:1185783518.484842.14530 [at] g12g2000prg.googlegroups.com...
>
>
>
>
>
> > On Jul 29, 7:33 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> > > <hamii... [at] gmail.com> wrote in message
>
> > >news:1185723413.831110.190460 [at] 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 ............
>
> > > <% [at] 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:

<% [at] 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?
hamiiied [ Di, 31 Juli 2007 15:14 ] [ ID #1782953 ]

Re: Question For ASP veterans

<hamiiied [at] gmail.com> wrote in message
news:1185887675.820144.283510 [at] j4g2000prf.googlegroups.com...
> On Jul 30, 11:44 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> > <hamii... [at] gmail.com> wrote in message
> >
> > news:1185783518.484842.14530 [at] g12g2000prg.googlegroups.com...
> >
> >
> >
> >
> >
> > > On Jul 29, 7:33 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> > > > <hamii... [at] gmail.com> wrote in message
> >
> > > >news:1185723413.831110.190460 [at] 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 ............
> >
> > > > <% [at] 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:
>
> <% [at] 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?
>


Which version of IIS are you using. I've just tested on IIS5 and it doesn't
work but it does on IIS5.1 .

--
Anthony Jones - MVP ASP/ASP.NET
Anthony Jones [ Di, 31 Juli 2007 15:56 ] [ ID #1782954 ]

Re: Question For ASP veterans

On Jul 31, 4:56 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> <hamii... [at] gmail.com> wrote in message
>
> news:1185887675.820144.283510 [at] j4g2000prf.googlegroups.com...
>
>
>
>
>
> > On Jul 30, 11:44 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> > > <hamii... [at] gmail.com> wrote in message
>
> > >news:1185783518.484842.14530 [at] g12g2000prg.googlegroups.com.. .
>
> > > > On Jul 29, 7:33 pm, "Anthony Jones" <A... [at] yadayadayada.com> wrote:
> > > > > <hamii... [at] gmail.com> wrote in message
>
> > > > >news:1185723413.831110.190460 [at] 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 ............
>
> > > > > <% [at] 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:
>
> > <% [at] 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?
>
> Which version of IIS are you using. I've just tested on IIS5 and it doesn't
> work but it does on IIS5.1 .
>
> --
> Anthony Jones - MVP ASP/ASP.NET- Hide quoted text -
>
> - Show quoted text -

IIS 5
hamiiied [ Di, 31 Juli 2007 16:44 ] [ ID #1782957 ]
Webserver » microsoft.public.inetserver.asp.general » Question For ASP veterans

Vorheriges Thema: postback and focus problem
Nächstes Thema: Timeout value & session variables