Katalon script editor does not support norwegian æøå

I have a written a small test for testing login, and written a small verification script to verify I get the correct username in the ResponseBody, like this;

WS.verifyElementPropertyValue(response, ‘username’, “Bjørn”)

This runs fine every time. But if I close Katalon studio, and reopen Katalon again, and reload my testproject, the verification script has turned into this:

WS.verifyElementPropertyValue(response, ‘username’, “Bj�rn”)

So somewhere between saving the project, closing it and loading it, the letter ‘ø’ is lost. This goes for all the norwegian letters ‘æ ø å’.

How do I make the script-editor handle special character support in strings?

1 Like

Sounds like a bug. Moved.

Hi @Bjorn_Holm,

We will fix this issue in v7.0.0 release.
You can follow this workaround by adding this line in katalon.ini file:

-Dfile.encoding=UTF-8

Thanks

1 Like

Thank you. That worked like a charm :sunglasses::+1: