From: nobu@... Date: 2016-02-18T07:31:19+00:00 Subject: [ruby-core:73876] [Ruby trunk Bug#12081] Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows Issue #12081 has been updated by Nobuyoshi Nakada. Description updated What is your code page? ---------------------------------------- Bug #12081: Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows https://bugs.ruby-lang.org/issues/12081#change-57043 * Author: Am I Who * Status: Open * Priority: Normal * Assignee: Nobuyoshi Nakada * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- ``` >dir A:\Build ��������� A ������������ RAMDISK ������������������ 411D-42E2 A:\Build ��������� 2016/02/18 09:23 . 2016/02/18 09:23 .. 2016/02/18 09:23 dir1 2016/02/18 09:22 0 file1.txt 2016/02/18 09:22 0 file2.txt 2016/02/18 09:22 0 ������1.txt 2016/02/18 09:22 0 ������2.txt 2016/02/18 09:23 ������1 4 ��������� 0 ������ 4 ��������� 22,377,705,472 ������������ ``` ``` >ruby -e "puts Dir['*']" dir1 file1.txt file2.txt ``` ``` >ruby -e "puts Dir['**']" dir1 file1.txt file2.txt ``` ``` >ruby -e "puts Dir['*.*']" file1.txt file2.txt ``` -- https://bugs.ruby-lang.org/ Unsubscribe: