Non-wide character write functions
The non-wide character write functions (fprintf, vfprintf, vprintf,
and printf) can take a wide character as input.
In all cases, the wide characters are converted to multibyte character
strings in the CCSID of the LC_CTYPE category of the current locale
as if the wctomb function or the wcstombs function
were used. The file CCSID is assumed to match the CCSID of the LC_CTYPE
category of the current locale.
If LOCALETYPE(*LOCALEUTF) is specified on the compilation command and the file that is being written to is a standard file, the output will automatically be converted from the CCSID of the LC_CTYPE category of the current locale to the CCSID of the file (which usually matches the job CCSID).