Written by

IRIS Developer Advocate, Software developer at CaretDev, Tabcorp
MOD
Question Dmitry Maslennikov · Feb 22, 2023

$ZF(-100) with Unicode throws <TRANSLATE>

Any ideas on how this can be solved?

I need to use it with some Unicode text, in Docker image. And get this error. And documentation says nothing about it.

USER>do$zf(-100, "/SHELL", "echo", "test")
test

USER>do$zf(-100, "/SHELL", "echo", "test тест")

DO$ZF(-100, "/SHELL", "echo", "test тест")
^
<TRANSLATE>

I know that it works in some Linux environments without Docker, but no idea where is the difference. 

Product version: IRIS 2022.3

Comments

Eduard Lebedyuk · Feb 22, 2023
do$zf(-100, "/SHELL", "echo", $zcvt("test тест", "O", "UTF8"))
test тест
0
Dmitry Maslennikov  Feb 22, 2023 to Eduard Lebedyuk

Interesting, I'm sure, that tried it, and it did not work. But working now

0