Commit c375996
committed
Document why bytes filenames matter
CJK locales on Windows produce Shift-JIS, GBK, or EUC-KR filenames
that aren't valid UTF-8. When those files land on Linux (or Docker,
or WSL), os.listdir() returns bytes. The comment records the use
case so future readers don't remove the bytes handling.1 parent 17540bc commit c375996
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments