msinfo has asked for the wisdom of the Perl Monks concerning the following question:
hi monks,
my recent project requires me to use utf chracters for input as well as output.
i tried below things, but they never worked for me. i am using windows machine
use utf8; use Encode; #binmode(STDOUT, ":utf8") binmode STDOUT, ":utf8"; use open qw/:std :utf8/; use open OUT => ':utf8'; use feature 'unicode_strings'; use Unicode::UCD 'charinfo'; print "एचटीएमल"; # actually it was html written in devnagri # browser and cmd prompt couldn't render it in utf format
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl writing urf8/utf16 output to cmd screen and html page
by kcott (Archbishop) on Aug 27, 2013 at 13:28 UTC | |
by msinfo (Sexton) on Sep 01, 2013 at 13:44 UTC | |
Re: perl writing urf8/utf16 output to cmd screen and html page
by Anonymous Monk on Aug 27, 2013 at 01:48 UTC | |
by msinfo (Sexton) on Aug 27, 2013 at 06:04 UTC | |
Re: perl writing urf8/utf16 output to cmd screen and html page
by moritz (Cardinal) on Aug 27, 2013 at 05:24 UTC | |
by msinfo (Sexton) on Aug 27, 2013 at 06:16 UTC | |
Re: perl writing urf8/utf16 output to cmd screen and html page
by thewebsi (Scribe) on Aug 27, 2013 at 07:57 UTC |
Back to
Seekers of Perl Wisdom