Hans-Arne Sandem
2006-Jul-29 16:30 UTC
[Rails] Web service and Builder doesn't return Norwegian ÆØÅ
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:-) -- Posted via http://www.ruby-forum.com/.
Hans-arne Sandem
2006-Jul-29 23:12 UTC
[Rails] Re: Web service and Builder doesn't return Norwegian ÆØÅ
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/.