@eniko Unfortunately the only way to print it is c32rtomb to convert it to a multibyte char string (in any reasonable setup this is UTF-8) in the current locale encoding.