🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #52579

problem z wyszukaniem nazwy pliku

#52579
From: karraso
Date: Fri, 25 Mar 2016 08:09
17 lines
1602 bytes
Witam,
Jak w temacie.
plik nazywa się
España SA._ESPTE.xml
ze względu na "ñ" mam problem z:

opendir (DIR, 'c:/tmp/' ) or die "$!";
push @files, grep {/\.xml$/} readdir DIR;
print "@files\n";
akcja dzieje się w win7.
Jeśli zmienię "ñ" na n lub ń to jest ok.
co tu kombinować?
Kombinowałem z encode z use utf8 ale nic nie pomagało.

ps
Pod linuxem jest ok :)
pozdrawiam
Technical Details
Message-ID: <7e67fd3f-fae7-4038-97ed-612fe3495feb@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.us.feeder.erje.net!weretis.net!feeder6.news.weretis.net!news.glorb.com!nt3no4355775igb.0!news-out.google.com!h70ni2755qge.0!nntp.google.com!y89no9282306qge.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Received: by 10.157.20.218 with SMTP id r26mr8211845otr.49.1458893349666;        Fri, 25 Mar 2016 01:09:09 -0700 (PDT)
X-Received: by 10.140.98.132 with SMTP id o4mr111681qge.4.1458893349585; Fri, 25 Mar 2016 01:09:09 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.us.feeder.erje.net!weretis.net!feeder6.news.weretis.net!news.glorb.com!nt3no4355775igb.0!news-out.google.com!h70ni2755qge.0!nntp.google.com!y89no9282306qge.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.perl
Date: Fri, 25 Mar 2016 01:09:09 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=80.54.158.136; posting-account=GAX2HgoAAACQOKx1s8yJKfaQWb7b1g8T
NNTP-Posting-Host: 80.54.158.136
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7e67fd3f-fae7-4038-97ed-612fe3495feb@googlegroups.com>
Subject: problem z wyszukaniem nazwy pliku
From: karraso <gkrasinski@gmail.com>
Injection-Date: Fri, 25 Mar 2016 08:09:09 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit