On Mon, Feb 16, 2009 at 9:21 AM, Farkas Máté <fmate144@gmail.com> wrote: > my *$dirName* = '../Üzemanyag'; # Üzemanyag == fuel in english > Win32::*CreateDirectory*($dirName); > 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. > What's with the asterisks? It works for me with a utf-8 encoded source file, but maybe it's because of my locale can handle that character. You could try Win32::GetShortPathName instead of Win32::GetANSIPathName. It seems to return only ASCII characters. Perl support for Windows files sucks.Thread Previous