Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

enforce resopnse charset to iso-8859-1

(from soap4r-ml)

Q

I'm having some issues using soap4r when it is parsing the response. The server I'm talking to is returning soap, but does not include the encoding. I believe this should default to encoding to us-ascii, but the server is adding in what appear to be iso-8859-1 characters. I realize that this is an error on the server's side, but aside from that, is there any way to work around this in the soap4r client?

A

Try Driver#mandatorycharset=(charsetname).

driver.mandatorycharset = 'iso-8859-1' # or utf-8.