Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 105063
Status: open
Priority: 0/
Queue: Perl-Dist-Strawberry

Owner: Nobody in particular
Requestors: jack.6th [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: strawberry-perl- can't open the file having CJK path.
strawberry-perl- MINGW32_NT-6.2 ... 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown #Code use File::Find; find(\&txt, 'e:/test'); sub txt { next if -d $_; next unless /\.txt$/i; print $File::Find::name,"\n"; chdir($File::Find::dir); open FILE, $_ or warn $!; while(<FILE>) {print "OK","\n" and last;} } #Code End Most of the txt files have CJK path. All files OK except one: e:/test/神秘のオルゴール 50弁型オルフェウス アンレール 1'fのゆらぎ 「さくらんぼ」~「プラネタリウム」~「PEACH」他 オルゴール作品集/神秘のオルゴール - 神秘のオルゴール 50弁型オルフェウス アンレール 1_fのゆらぎ 「さくらんぼ」~「プラネタリウム」~「PEACH」他 オルゴール作品集.txt No such file or directory at F:\polo\desktop\ line 8. I tried MSYS2 perl. It has no this problem. #MSYS2 perl version info: This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-msys-thread-multi MSYS_NT-6.3 ... 2.0.0(0.284/5/3) 2015-01-21 14:04 x86_64 Msys
Unfortunately perl itself does not support unicode filenames on MS Windows but only so called ANSI codepage.

Possible workaround:

The support for unicode filenames in perl core should be reported as a perl core ticket (via perlbug utility)

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to