Skip to content

Commit

Permalink
make sure that we get back a SOAPString when $KCODE is UTF-8
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
leonbreedt committed Jul 13, 2005
1 parent dfc422b commit b7f3751
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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,
Expand Down

0 comments on commit b7f3751

Please sign in to comment.