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

output help

Thread Next
Raghupathy, Ramesh .
December 9, 2002 12:32
output help
Message ID:

   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";


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About