>>I think it's most likely still going to be on the CF side of the code.
I've seen people in a French forum having exactly the same problem, and
they are under PHP.
I think that the charset header is simply ignored, or does not work.
The text is sent in UTF-8, whatever you put in the header.
Thi
on the CF side of
the code.
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 12:47 PM
To: CF-Talk
Subject: RE: XMLHttpRequest and charset
Ha, thats a difference alr
Ha, thats a difference alright. It was worth a shot.
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 11:26 AM
To: CF-Talk
Subject: Re: XMLHttpRequest and
>>Does it make a difference if you setRequestHeader() before you open()?
It sure does: it makes an "Unspecified error" ;-)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address:
Subject: Re: XMLHttpRequest and charset
>>Be aware in CF 6+ default to UTF-8. Try using the "charset"
attribute and see if it helps
I made the test under CF5, to make sure.
I added an alert with the text in hexadecimal right before sending the
text, and it IS in iso 8859: &quo
>>Be aware in CF 6+ default to UTF-8. Try using the "charset"
attribute and see if it helps
I made the test under CF5, to make sure.
I added an alert with the text in hexadecimal right before sending the
text, and it IS in iso 8859: "75 75 E9 E9"
So the XMLHttpRequest is actually converting to
> The called template receives the code, but despite of the
> charset=iso-8859-1 specs in the header, the text seems to be received in
> UTF-8: the receiving template writes the text to a file:
> OUTPUT="#form.MessageSent#">
Be aware in CF 6+ default to UTF-8. Try using the "charset"
attribute a
Hi,
I'm sending some text to a CF template via an XMLHttpRequest; see code
below.
var sendString =
"userId=#session.UserId#&meetingId=#meetingId#&messageSent=" +
encodeURIComponent(el.value);
sendRequest.onreadystatechange=backFromSend;
sendRequest.open("POST","sched
8 matches
Mail list logo