Forum Discussion

bjornhenrikzink's avatar
bjornhenrikzink
New Contributor
26 days ago

UTF-8 file import issue for custom fields

Hi!

I'm encountering a problem with character encoding when importing test cases using a UTF-8 .csv file. Specifically, Swedish characters like ö, ä, and å are not being converted correctly into custom fields of type Text Field (single line). These characters display correctly in standard fields, but in custom fields, Ö is imported and displayed as Ö.

File encoding: Unicode (UTF-8)

I've tried both .csv and .xml imports, but the issue persists. Any help is greatly appreciated. Thanks!

 

2 Replies

  • MisterB's avatar
    MisterB
    Icon for Champion Level 3 rankChampion Level 3

    Hi!

    Thanks for sharing this issue - it's good to know that it exists.  I have tried to make it work using UTF-8 encoded Excel, Notepad, and Notepad++ CSV files and have shared the results below.  It seems that Zephyr is doing something to the encoding of text in Single Line custom fields as it's not an issue in Multi Line fields.  So, you can work around this issue by using a Multi Line field, but I would also raise it as a bug with SmartBear Support to fix.

    Source data: Ö ä å test
    ✘ Single line: Ö ä å test
    ✔ Multi line: Ö ä å test

    Source data: "Ö ä å test"  -  same data surrounded in double-quotes
    ✘ Single line: "Ö ä å test"
    ✔ Multi line: Ö ä å test

     

  • Thanks for a swift reply, this is a good work around! 

    Unfortunately, one of the purposes of the custom fields was to use them as columns, which is not possible with multi line text fields. 

    Once I have the SEN from my admin, I will create a bug as proposed by you!