[Javascript] UTF-8 and AJAX

Scott Reynen scott at randomchaos.com
Tue Aug 22 23:27:42 CDT 2006


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




More information about the Javascript mailing list