tompagenet has asked for the wisdom of the Perl Monks concerning the following question:
This is saved in a perl program in a UTF-8 encoded file. I have run this and this is the output I get on the screen:binmode(STDOUT, ":utf8"); system('chcp 65001'); print "\x{016B} \n"; print "£ \n";
Why am I getting that "Â" before the pound sign? Any ideas how to fix it? Note that the ū *does* appear correctly as a u with a bar, but it won't display in this post. TomActive code page: 65001 ū £
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unicode at Windows' cmd.exe
by massa (Hermit) on Jul 13, 2008 at 16:25 UTC | |
by Burak (Chaplain) on Jul 14, 2008 at 13:02 UTC | |
by massa (Hermit) on Jul 15, 2008 at 00:18 UTC | |
by Burak (Chaplain) on Jul 15, 2008 at 08:27 UTC | |
|
Re: Unicode at Windows' cmd.exe
by Thelonius (Priest) on Jul 13, 2008 at 16:24 UTC | |
|
Re: Unicode at Windows' cmd.exe
by Anonymous Monk on Nov 03, 2008 at 11:09 UTC |