Once again greetings Ta-kun.  I haven't had much success dealing with wide
characters from Perl.  There are two interfaces Windows provides for
accessing file names, ANSI and Unicode.  Code I've tried in the past would
only use the ANSI interface so u can't deal with anything with a codepoint
above 255.  What I would do is try to use WMI and delete the files that way.
I haven't tried it but from what I understand it's capable of dealing with
the wide characters.  I have no idea what Perl internals are Unicode aware
or what modules might be aware or even how to find out.  The
Win32::OLE->GetObject("winmgmts:....) thing.  If u haven't downloaded
Scriptomatic from Microsoft u should get that from them.  Hope that helps, ja.

At 04:18 PM 8/15/2007 +0900, =?iso-2022-jp?B?GyRCRUQ4fRsoQiAbJEI5QBsoQg==?=
wrote:
>Hello,
>Any one is using File::Remove, and on multi byte platform?
>
>I'm using it on WindowsXP with Shift-JIS, a code for Japanese.
>And I can't remove a directory named "Japan"(\x93\xfa, \x96\x7b).
>Also it's return code is true.
>I know "\x7b" means "{".
>
>C:\>perl -MFile::Remove=remove -le "$File::Remove::debug++; print (remove
'@@%%')"
>missing: @@__
>@@__
>




--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede malis"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to