in reply to Re: Character Encoding and Windows Console woes
in thread Character Encoding and Windows Console woes
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.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Character Encoding and Windows Console woes
by BrowserUk (Patriarch) on Feb 16, 2004 at 22:05 UTC | |
by John M. Dlugosz (Monsignor) on Feb 17, 2004 at 05:08 UTC | |
|
Re: Re: Re: Character Encoding and Windows Console woes
by Anonymous Monk on Feb 17, 2004 at 03:06 UTC | |
by John M. Dlugosz (Monsignor) on Feb 17, 2004 at 05:12 UTC |