develooper Front page | perl.perl5.porters | Postings from February 2009

Re: [perl #63184] mkdir with non-ASCII characters

Thread Previous | Thread Next
Farkas Máté
February 16, 2009 09:53
Re: [perl #63184] mkdir with non-ASCII characters
Message ID:
Eric Brine via RT írta:
> On Thu, Feb 12, 2009 at 9:21 AM, via RT FARKAS Máté <
>> wrote:
>> I use hungarian Windows, but this way is not portable, because (for
>> example) on Japanese windows I can not use this encodings.
>> Someone else have found this bug, see:
> You want CreateDirectory in module Win32.
Thank you for your reply, I try the services of Win32 module, but it is 
not perfect.


    my *$dirName* = '../Üzemanyag'; # Üzemanyag == fuel in english
    my *$dir* = Win32::GetANSIPathName( $dirName );

    *LWP::Simple::getstore( $url, "$dir/$file" );*

It doesn't work, but if I use *U* instead of *Ü*, it works well. It 
doesn't work even if I use "$dirName/$file" or someone else.

Don't want Perl be in Unicode mode in Windows or use Win32 module 
automatically on background? I can not rewrite every used module to use 
Win32 to access to files…

Thank you for your help, I wait for your reply!

Best regards,

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