[Javascript] UTF-8 and AJAX

Peter Lauri lists at dwsasia.com
Tue Aug 22 23:36:03 CDT 2006


That helped me, I broke it down to test some stuff. And I decided to test
base64 instead, and then it worked fine.

/Peter



-----Original Message-----
From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu]
On Behalf Of Scott Reynen
Sent: Wednesday, August 23, 2006 11:28 AM
To: [JavaScript List]
Subject: Re: [Javascript] UTF-8 and AJAX

On Aug 22, 2006, at 9:52 PM, Peter Lauri wrote:

> When I use AJAX to get Thai content that was submitted with regular  
> post
> method (not AJAX) it works fine. But when I use AJAX to get Thai  
> content
> that was submitted with AJAX GET method it does not work.

You still need to narrow down the problem.  From your description, we  
know it's somewhere in this chain:

HTML->JavaScript-> WebToolKit->AJAX->PHP->database->PHP->AJAX- 
 >WebToolKit->JavaScript->HTML

That's a long chain.  Do testing at each step to determine where  
exactly the problem happens.  The database would be a good place to  
start, as you already have data there to test against.

Peace,
Scott

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list