John Cartwright
2007-Oct-23 22:25 UTC
Ajax.Request post in IE causes UnsupportedEncodingException
Hello All, I found when I moved from Prototype 1.4 to 1.5, POST requests sent by IE are causing a "java.io.UnsupportedEncodingException: UTF-8, text/xml" exception in my backend java application. The java application is simply reading the request body when it throws the exception. The code runs fine in FireFox or if using Prototype 1.4.0. Can anyone explain the what''s going on here or how I might address the issue? I confirmed the same behavior in 1.6.0_rc1. Thanks! -- john --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Richard Quadling
2007-Oct-24 09:07 UTC
Re: Ajax.Request post in IE causes UnsupportedEncodingException
On 23/10/2007, John Cartwright <john.c.cartwright-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:> > Hello All, > > I found when I moved from Prototype 1.4 to 1.5, POST requests sent by IE > are causing a "java.io.UnsupportedEncodingException: UTF-8, text/xml" > exception in my backend java application. The java application is > simply reading the request body when it throws the exception. The code > runs fine in FireFox or if using Prototype 1.4.0. > > Can anyone explain the what''s going on here or how I might address the > issue? I confirmed the same behavior in 1.6.0_rc1. > > Thanks! > > -- johnIf you track down the trigger of the exception, you should see what is supported and either force an acceptable encoding to the ajax requests or update your java code to support UTF8. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---