14 Jan
2018
14 Jan
'18
8:28 a.m.
Hello all, I am running a system command with proc:system. The command should return xml, but because of non-ascii letters, the returned string gets scrambled. (I am aware that proc:system receives a string, proc:execute returns an element.) Running the system command in a shell works fine, I get this (snippet) <element>aapõ</element> When running the command through proc:system, I get this instead <element>aap....lement> Where the õ (= C3 B5 in hex representation) has been replaced with F5 BC AF B0. I get the same result specifying the encoding option of proc:system with "utf-8" or just leaving blank. My shell uses utf-8. How could I find out what encoding I need to use in the proc:system function? Best regards, Kristian K