Question For ASP veterans
Question For ASP veterans
am 29.07.2007 17:36:53 von hamiiied
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 ............
Re: Question For ASP veterans
am 29.07.2007 18:33:47 von Anthony Jones
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
Re: Question For ASP veterans
am 30.07.2007 10:18:38 von hamiiied
On Jul 29, 7:33 pm, "Anthony Jones" wrote:
> 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" ?
Re: Question For ASP veterans
am 30.07.2007 22:44:45 von Anthony Jones
wrote in message
news:1185783518.484842.14530@g12g2000prg.googlegroups.com...
> On Jul 29, 7:33 pm, "Anthony Jones" wrote:
> > 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
Re: Question For ASP veterans
am 31.07.2007 15:14:35 von hamiiied
On Jul 30, 11:44 pm, "Anthony Jones" wrote:
> wrote in message
>
> news:1185783518.484842.14530@g12g2000prg.googlegroups.com...
>
>
>
>
>
> > On Jul 29, 7:33 pm, "Anthony Jones" wrote:
> > > 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?
Re: Question For ASP veterans
am 31.07.2007 15:56:55 von Anthony Jones
wrote in message
news:1185887675.820144.283510@j4g2000prf.googlegroups.com...
> On Jul 30, 11:44 pm, "Anthony Jones" wrote:
> > wrote in message
> >
> > news:1185783518.484842.14530@g12g2000prg.googlegroups.com...
> >
> >
> >
> >
> >
> > > On Jul 29, 7:33 pm, "Anthony Jones" wrote:
> > > > 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?
>
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
Re: Question For ASP veterans
am 31.07.2007 16:44:56 von hamiiied
On Jul 31, 4:56 pm, "Anthony Jones" wrote:
> wrote in message
>
> news:1185887675.820144.283510@j4g2000prf.googlegroups.com...
>
>
>
>
>
> > On Jul 30, 11:44 pm, "Anthony Jones" wrote:
> > > wrote in message
>
> > >news:1185783518.484842.14530@g12g2000prg.googlegroups.com.. .
>
> > > > On Jul 29, 7:33 pm, "Anthony Jones" wrote:
> > > > > 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?
>
> 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