[Rails] Re: Web service and Builder doesn't return Norwegian ÆØÅ

Hans-arne Sandem hasandem at gmail.com
Sat Jul 29 21:57:57 GMT 2006


Hans-Arne Sandem wrote:
> Hi,
> 
> I'm working with using Rails as a backend for a Flex 2.0 application. I 
> use web services to access data in a mysql database. It works very well 
> except when the data include Norwegian ÆØÅ.
> 
> Symptoms are:
> 
>  - Using SOAP I get a string of scrambled characters. Strings without 
> ÆØÅ are just fine
>  - Using XMLRPC just drops out the ÆØÅ's
>  - Using REST with RXML templates returns ? instead of ÆØÅ
>  - Normal pages from rhtml templates are just fine
> 
> Looks like something wrong with xml and charactersets.
> 
> ???
> 
> 
> Thanks:-)

Hm, it looks like the returned soap is base64 encoded when the string 
has æøå. Is there any way to prevent this??

Hans-Arne

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list