Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure that we get back a SOAPString when $KCODE is UTF-8

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit b7f3751ce04e144f0794cc817ec13d850ceb6fd8 1 parent dfc422b
@bitserf bitserf authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  actionwebservice/test/dispatcher_action_controller_soap_test.rb
2  actionwebservice/test/dispatcher_action_controller_soap_test.rb
@@ -71,6 +71,8 @@ def test_utf8
@direct_controller.web_service_exception_reporting = true
$KCODE = 'u'
assert_equal(Utf8String, do_method_call(@direct_controller, 'TestUtf8'))
+ retval = SOAP::Processor.unmarshal(@response_body).body.response
+ assert retval.is_a?(SOAP::SOAPString)
# If $KCODE is not set to UTF-8, any strings with non-ASCII UTF-8 data
# will be sent back as base64 by SOAP4R. By the time we get it here though,
Please sign in to comment.
Something went wrong with that request. Please try again.