I need the example code for reading HZ-encoded files - ie to convert contents of such file to UTF8String. I attach the small example file. I need that by using libiconv as the main Unix method.
HZ files have Asian chars encoded to ~{....} ascii parts.
I prefer cross-platform way using SetCodepage() RTL procedure.