Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing charset via xmlhttprequest

Status
Not open for further replies.

learner45

Technical User
Jul 31, 2009
16
0
0
GB
Hi,

I am vew to web development & have the following problem:

On my ASP page (let's call it ASP-1), I have a form and the values from this form are passed to another page (ASP-2) via javascript-xmlhttprequest. ASP-2 basically serves as a query function and returns the search results that are displayed in ASP-1 in a DIV element. All is working well - except one problem:

The ASP-1 is available in multiple languages; hence multiple charset. Is there a way to pass on the charset value from ASP-1 to ASP-2 so that the charset in the DIV element in ASP-1 is in harmony with the rest of the content?

Thanks for your replies!
 
I found this, it may be of some help to you. Read the whole thing, as it looks like there are some code samples at the bottom that do work:




--------
GOOGLE is a great resource to find answers to questions like "how do i..."

If you don't know exaclty what you want to do or what to search on, try Google Suggest: --------
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javasc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top