18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
unicode encoding
What kind of encoding is used in SAHI? Where can I change it?
Scenario: I want to set a char (slanted apostrophe ).when I pass its unicode through sahi, it shows up as a box or ?. Any solution for this?
_assertEqual("dose\u8217t|''", _textbox("SC_Name_Input").value);
Scenario: I want to set a char (slanted apostrophe ).when I pass its unicode through sahi, it shows up as a box or ?. Any solution for this?
_assertEqual("dose\u8217t|''", _textbox("SC_Name_Input").value);
This discussion has been closed.
Comments
Could you check if the file is saved in UTF-8 encoding.
Regards,
Narayan
Are you mentioning about SAHI property file? should I pass character in utf8?
Thanks
DK
I am mentioning the .sah file which has the unicode character. Files can be saved in different encodings. In your editor there must be a way of saving a file in a different encoding.
Regards,
Narayan