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:-)

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