Unexpected Khmer character

Hi all,

i’ve issue in string “ថ្ងៃ​)”,

my script was runing well on KS version 7.7.xx, but my team have different version (8.xxx) and has error like :

thanks :slight_smile:

Do you want to remove the ZERO WIDTH SPACE characters?

Well, possibly it would be enough if you just delete the old "ថ្ងៃ​)" and retype it in the Groovy source.

If you want to be more precise, use some “binary editor” and edit the source file of Groovy script, find the byte sequence 0xe2 0x80 0x8b (3 bytes) in UTF-8 and remove it.

As for ZERO-WIDTH-SPACE character, there was a post in this forum. Just for your interest, see

I guess, you typed a string "ថ្ងៃ​)" using Microsoft Word/Excel, and copy&pasted it into Groovy script source. In MS Office, Unicode 0x200B is easily inserted by typing ALT+X, often accidentally.

I don’t know why. KS 7.x and 8.v use slightly different version of JDK&Groovy, therefore I guess that they may work differently for UNICODE 0x200B.