Loading ...
Sorry, an error occurred while loading the content.
 

Re: Character Encoding Problems

Expand Messages
  • Thomas S. Sha
    ... setForm already encodes the POST body, so you should be able to decode it in ASP. You can also test the string yourself by assembling the form
    Message 1 of 6 , Mar 3 8:33 PM
      --- In ydn-javascript@yahoogroups.com, Jökull Sólberg Auðunsson
      <jokullsolberg@...> wrote:
      > I switched back to ISO-8859-1 since UTF-8 is not suited for SQL
      > storage. I'm still baffled by the whole encoding thing -
      > Can I use js encode() function to pass it on to the server through XHR
      > and then use something like urldecode() in ASP? Or better yet, force
      > XHR to use ISO-8859-1!

      setForm already encodes the POST body, so you should be able to decode
      it in ASP. You can also test the string yourself by assembling the
      form label/values and pass it as an argument to asyncRequest.

      Regards,
      Thomas
    Your message has been successfully submitted and would be delivered to recipients shortly.