Question

pynote string is breaking due special characters

We have a requirement to send the data in pynote to external system with a string format. but the pynote is breaking the string with a character " {double quote). I have tried replacing the " with \" using replace All function. but it is saying the error message expression is missing at the End.Attaching the screen shot.

Used function is

@replaceAll(Top.pyNote,'\"',"\\"")

Could any one help me on this issue?

Thanks in advance...!!!

Comments

Keep up to date on this post and subscribe to comments

Pega
July 14, 2019 - 8:17am

Hi,

Please set the file encoding to UTF-8.You can set it by adding below jvm argument.

 -Dfile.encoding=UTF-8

 

Thanks,

Abhinav