On 8/20/07, Bil Corry <[EMAIL PROTECTED]> wrote:
>
> barophobia wrote on 8/20/2007 11:58 AM:
> > 1. Why do you think the standard pages work fine?
>
> Do you have a meta tag defining the charset?  Most likely that wouldn't be 
> present in an AJAX call but would tell the browser the correct charset.

You're right about that. I have:

<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>

> > 2. What about the issue I'm having sending the data? How do I get the
> > UTF-8 text to be recorded properly when submitted via an AJAX call?
>
> I believe jQuery sends the data as UTF-8; the issue as I understand it is 
> when you want to send something other than UTF-8, as per this thread:
>
>   
> <http://groups.google.com/group/jquery-en/browse_thread/thread/5fc0bd4e73d41e03/#anchor_94c6c9cd173ae26d>
>
>
> You said you're using Japanese characters, are you sure you're using UTF-8 or 
> could you be using SHIFT_JIS?  Do you have an example page?

Actually I'm using UTF-8 for that exact reason. This application will
be (at some point) translated into as many languages as I can get.

Based on your information I think my problems will be solved once I
get the server to serve PHP as UTF-8 (I think I can do this via
.htaccess).


Thanks for your help with this!
Chris.

Reply via email to