Forum Discussion

Awesome's avatar
Awesome
Frequent Contributor
16 years ago

extended chars display discrepency in soap response viewer

hi,

my db has a value 'í',  chr(237). (update record set middle_name = chr(237) where id = 100
when i query for this value using our web services, soapui displays the value correctly in the response 'OUTLINE' view

bug?: in the response 'RAW' view it displays the character as such: Ã-


...
í­

3 Replies

  • Hi!

    hmm.. the raw view doesn't decode the UTF-8 characters, it just shows each 8-bit character in the data.. bug or feature?

    merry xmas!

    /Ole
    eviware.com
  • Awesome's avatar
    Awesome
    Frequent Contributor
    Ah, makes sense, in that case this is a feature!

    maybe as an enhancement add a toggle to the preferences to switch the display between UTF-8 or 8-bit?

    have a great holiday!
  • Awesome's avatar
    Awesome
    Frequent Contributor
    hi,

    another question about this:

    prior to a fix to our app, our soap response was saying encoded in UTF-8 but the data was in ISO 8859-1, viewing such a message in IE 8, produced the xml error  below.

    after our fix 'use UTF-8 encoding for output', IE 8 displayed the message correctly.

    QUESTION: shouldn't soapui have flagged the message as a schema failure (the IE 8 is) since the encoding UTF-8 did not match the data ISO8859-1?


    ----IE 8 Message----
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then
    click the Refresh button, or try again later.
    --------------------------------------------------------------------------------
    An invalid character was found in text content. Error processing resource
    'http://bvt300-secure.convio.com:8080/1.0/bvt309/...