Forum Discussion

Buschfunk's avatar
Buschfunk
Frequent Contributor
14 years ago

UTF-8 encoding of DataSource

Hello,

Using soapUI Pro 4.0.1 I have created a test case which contains a DataSource test step. This data source reads an UTF-8 encoded CSV file. The Charset parameter of the test step is set to UTF-8. When actually executing the test step however the first parameter contains a square character.

How do I enable soapUI to read UTF-8 encoded input files?

Sincerely,
Robert
  • Hello,

    there should be nothing else needed, since charset box controls the encoding.
    I'm not sure what is the cause - is it possible to include file in question and email it to support,
    so we can try to reproduce the issue ?

    Regards,
    Vladimir
    SmartBear Software
  • Buschfunk's avatar
    Buschfunk
    Frequent Contributor
    I have found out that the described behavior occurs if the input file is in "UTF-8 with BOM". If it is in "UTF-8 without BOM" the processing works fine. I have once reported a similar bug when importing WSDLs or XSDs which have a BOM.

    http://www.soapui.org/About-SoapUI/soap ... fixed.html

    Maybe you should check all routines/features in soapUI (Pro) which are able to read UTF-8?
  • Hi!

    I've now verified that this is indeed a bug, but it only seams to occur on Windows XP, not on Windows 7 64-bit which I tested on earlier.
    I've added this to our backlog (SOAPUI-2576) and we'll notify you when it has been resolved.

    Regards

    Erik
    SmartBear Sweden