develooper Front page | perl.beginners | Postings from December 2002

output help

Thread Next
From:
Raghupathy, Ramesh .
Date:
December 9, 2002 12:32
Subject:
output help
Message ID:
2D3A642CA9C8A74C9BD66C372091E7E1312D51@GAATLITEXCH08S.atldc.nscorp.com
Hi,

   I am using perl 5.8.0 for windows to output Unicode characters in a file
and I like to see the unicode characters using any word processor on
Windows. When I use Word 2000 using Arial Unicode MS font, all the unicode
characters looks garbled. How can I see the Unicode characters of the file I
output ?   I appreciate all help.

My script looks like:
-----------------------------
binmode(STDOUT, ":utf8"); 
my $unichar1 = "\x{0910}"; 
my $unichar2 = "\x{0920}"; 
my $unichar3 = "\x{0930}"; 
my $unichar4 = "\x{0940}"; 
print "my unicode chars are $unichar1 and $unichar2 and $unichar3 and
$unichar4 \n";

Thanks,
Ramesh

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About