-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Achim Domma (SyynX Solutions GmbH) wrote:
> I use Ruby to access a .Net Webservice which returns german umlauts
> (..). I create the service like this:
> 
> service = SOAP::RPC::Driver.new(server, InterfaceNS)
> service.default_encodingstyle =
> SOAP::EncodingStyle::ASPDotNetHandler::Namespace
> 
> If there are umlauts in the result, I get the following error:

If your server allows UTF-8, whichever of these should work.

(1) pass -Ku argument to ruby interpreter such as 'ruby -Ku myclient.rb'
(2) add $KCODE = 'UTF8' at the top of the script.
(3) set XSD::Charset.encoding = 'UTF8'

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDh+Xbf6b33ts2dPkRAjuDAJ9vU8sb91++NrvrnMJqV1Cfw559TgCdE8CV
XjuNy2qfliDHphu4tiAVyLw=
=SCCj
-----END PGP SIGNATURE-----