On Fri, Nov 14, 2008 at 9:26 AM, 付 尧 <[EMAIL PROTECTED]> wrote: >> Felix wrote: >> ...For best (and proven) results: >> >> * Send everything as UTF-8 >> * Use encoding="multipart/form-data" for your forms >> * Keep the _charset_ parameter set to UTF-8 (or utf-8) > > Yes, that's what I do. It doesn't work when using dojo ajax post in ie(When > I use dojo in ie do the ajax post, sling didn't get the encoding, so it use > iso-8859-1 as default)....
There should be a way to set the encoding of a POST done by dojo, maybe the following resources help? http://dojotoolkit.org/search/node/encoding http://dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-support/character-encoding-xhrpost What I'd try is create a plain form like Felix suggests, verify that that works, spy the http traffic to see what the browser sends, and tweak the dojo post so that it sends the exact same POST request. -Bertrand
