472,353 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

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 ............

Jul 29 '07 #1
6 1726
<ha******@gmail.comwrote in message
news:11**********************@z28g2000prd.googlegr oups.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
Jul 29 '07 #2
On Jul 29, 7:33 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message

news:11**********************@z28g2000prd.googlegr oups.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" ?

Jul 30 '07 #3
<ha******@gmail.comwrote in message
news:11*********************@g12g2000prg.googlegro ups.com...
On Jul 29, 7:33 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message

news:11**********************@z28g2000prd.googlegr oups.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
Jul 30 '07 #4
On Jul 30, 11:44 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message

news:11*********************@g12g2000prg.googlegro ups.com...


On Jul 29, 7:33 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message
>news:11**********************@z28g2000prd.googleg roups.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?

Jul 31 '07 #5
<ha******@gmail.comwrote in message
news:11**********************@j4g2000prf.googlegro ups.com...
On Jul 30, 11:44 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message

news:11*********************@g12g2000prg.googlegro ups.com...


On Jul 29, 7:33 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message
news:11**********************@z28g2000prd.googlegr oups.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
Jul 31 '07 #6
On Jul 31, 4:56 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message

news:11**********************@j4g2000prf.googlegro ups.com...


On Jul 30, 11:44 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message
>news:11*********************@g12g2000prg.googlegr oups.com...
On Jul 29, 7:33 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<hamii...@gmail.comwrote in message
>news:11**********************@z28g2000prd.googleg roups.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

Jul 31 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question>...
7
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start...
5
by: Phillip N Rounds | last post by:
I have a webform ( ASP.NET 1.1, CodeBehinde = C#). The user selects an address item from a dropdown list box. The details of the address then...
53
by: Jeff | last post by:
In the function below, can size ever be 0 (zero)? char *clc_strdup(const char * CLC_RESTRICT s) { size_t size; char *p; ...
4
by: HARDCORECODER | last post by:
ok I want to extract the first 4 bits of a 32 bit interger. The SIZE doesn't really matter. 8,16, 0r 32. I want the first 4 bits.....bit 0,1,2...
10
by: Victor Bazarov | last post by:
Just asking...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.