How to write hyphen minus in katalon

See also the following thread where a Hyphen-minus like character confused us:

Please find my Groovy class StringUtil with a method escapeNonAsciiChar(String str), which prints any UNICODE characters in the str, which is NON-ASCII, in Hex-decimal representation. You should be able to mimic the StringUtil class in Katalon Studio and use the escapeNonAsciiChar method in your Test Case script to verify your string in doubt.