Well, I checked, and our website is using iso-8859-1. I see that this is a subset of utf8. Is it still possible to have js correctly uncode the characters?
On May 21, 10:21 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > That's my guess. Without seeing the web page(s) in question it's > pretty hard to diagnose where exactly it's going wrong. > > Karl Rudd > > On Thu, May 22, 2008 at 3:18 PM, hubbs <[EMAIL PROTECTED]> wrote: > > > Karl, > > > So, potentially, javascript is using a different character set when > > posting with ajax, as opposed to a normal form post? > > > On May 21, 6:38 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > >> JavaScript uses UTF-8, you need to make sure your pages are using > >> UTF-8 and that your back end is also expecting that. > > >> Some useful links gleaned from a Google search of "javascript utf-8": > > >>http://www.meanfreepath.com/support/javascript_charsets.htmlhttp://ww...... > > >> Karl Rudd > > >> On Thu, May 22, 2008 at 10:41 AM, hubbs <[EMAIL PROTECTED]> wrote: > > >> > I have a form, which sends text through .ajax(); using POST. But for > >> > some reason, it is making special characters into strange text. For > >> > example, when quotes are posted, ’ is received on the other end > >> > instead. Should I be using a special jquery function to convert > >> > special characters? As it seems when using a normal form post this is > >> > not a problem.