The output file only contains one byte, the 0x83. In UTF-8 it should have been 2 bytes. Printing to the console (not redirecting output), it showed one character in the OEM character set.perl -C -Mutf8 -e"print qq(\x{83})" >d.txt
The docs I have say that -C enables wide system calls (See ${^WIDE_SYSTEM_CALLS} in the perlvar manpage.)
In reply to Re: Re: Character Encoding and Windows Console woes
by John M. Dlugosz
in thread Character Encoding and Windows Console woes
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |