Issue #12081 has been updated by Yui NARUSE.

Backport changed from 2.1: WONTFIX, 2.2: WONTFIX, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: WONTFIX, 2.3: DONE

ruby_2_3 r54407 merged revision(s) 53877,53881.

----------------------------------------
Bug #12081: Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows
https://bugs.ruby-lang.org/issues/12081#change-57826

* Author: Am I Who
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]
* Backport: 2.1: WONTFIX, 2.2: WONTFIX, 2.3: DONE
----------------------------------------
```
>dir A:\Build
  A Ū RAMDISK
 Ū 411D-42E2

 A:\Build Ū

2016/02/18  09:23    <DIR>          .
2016/02/18  09:23    <DIR>          ..
2016/02/18  09:23    <DIR>          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    <DIR>          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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>