in reply to Re^6: print UTF-8 problem
in thread print UTF-8 problem

If the file is UTF-8 and the chcp is 65001, it should work.

What do you get from

perl -CS -E"say map chr, 0x2660, 0x100;"

You should get the following (like I do)

♠Ā

Is cygwin involved at all? (e.g. Are you using the bash shell?)

What do you expect to get instead of <הער׳11>?

Replies are listed 'Best First'.
Re^8: print UTF-8 problem
by HelenCr (Monk) on Feb 25, 2012 at 01:33 UTC
    @ikegami: There are two problems there: 1. The Windows Console font does not have many Unicode glyphs; and 2: Perl IO does not manage well with Windows console output buffering.
    It was solved using SourceForge's "Console" utility (aka "Console2"), and specifying "unix" for the output binmode.
    There is no need to use Cygwin.