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