Runtime Error with Replace All Text

Dear all,

I’m getting this Error:

It occurs when I’m trying to replace the spanish character Ñ with the character \

The program is very simple:

Please, do you have any idea what could be the problem?

Best regards,
Joseprueba.aia (2.1 KB)

Probably because of \ is a java special character, but I may be wrong.

Workaround prueba_1.aia (2.3 KB)

/Boban

1 Like

Hi Boban,

Thanks a lot for your answer.

I think you’re right, because if you use \\ instead \ the error does not appears.

And I’m going to find out more with the HTML Text Decode function because I’m having a lot of problems with UNICODE strtings. It seems that Kodular uses UNICODE chars and it creates conflicts when you send strings to old printer devices that use ANSI strings.

Best regards,
Jose

1 Like

If you’re looking for unicodes, look here.

For the \ use \ as for HTML and use U+005C for Unicode

Thanks Nathan!

1 Like

You’re welcome!

If you need anymore help regarding anything else besides this current topic, be sure to create another one. If you have a concern with a user or topic, report them to @Kodular … Enjoy your stay!

1 Like