Problem with ActionWebService and UTF-8 encoding

Hello,
I have a Rails App which serve a Soap Web Service with ActionWebService.
I accept 2 string parameters that must contain xml.
The data sent are in UTF-8, but the non-ascii char (é, à …) in the
message
are crippled at the end.

I tested the app, database, html, … all accept utf-8, a direct http
post
works well, but going through the web service broke the content.

I tried to manually set the $KCODE en require de iconv in environment.rb
:

$KCODE = ‘UTF8’
require ‘iconv’

It’s with rails 1.2.6

Any idea ?

Thanks,
David

Did you try setting up the character encoding for the page?

On Tue, May 6, 2008 at 5:42 AM, David B.
[email protected]
wrote:


James M.