perl-unicode

unicode on windows

2003-11-20 19:30:04
Hi,

   I am trying to create a japanese file on a windows
machine, Below is the code I am using to do so.
    my @array = (0x5f89  ,0x623f,0x5f89,0x623f);
    my $str1 =  pack("U*", @array);
    open(FD, ">$filepath\\$str1") or die( "$!");
    close FD;

    I have uploaded my machine with japanese fonts,
when I create manually from the windows machine, I see
the exact japanese font that the hex should show. 

But when I use the above code, I am seeing a different
file name. I am not sure why I am seeing this. Can
someone help me with this.

Also each character when I view it via character
listing of IME pad, it  has three hex numbers.

What is the difference?

Unicode
JIS
Shift JIS
kuten 

Thanks,
Neelima 

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

<Prev in Thread] Current Thread [Next in Thread>