Issue #12654 has been updated by Usaku NAKAMURA.


Premises:

1. We don't introduce such breakage of compatibility until Ruby 3.
2. At Ruby 3, on Windows, we're planning to use UTF-8 as the default locale.
3. Ruby 3 will *not* force users to use UTF-8.  Users will be able to choose encoding which they want to use.


The point of the issue is that users cannot choose filesystem encoding.
If filesystem encoding is fixed to UTF-8, it causes other (but similar) problems.

Using locale as filesystem encoding has an advantage.
Users can change locale with `-E` option.
Then, I vote +1 to nobu's opinion.

----------------------------------------
Feature #12654: On Windows use UTF-8 as filesystem encoding
https://bugs.ruby-lang.org/issues/12654#change-59964

* Author: Dvis Mosns
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Windows (NTFS) supports Unicode and there can be paths/filenames with other characters than current ANSI/OEM codepage can encode.

See attached patch.


---Files--------------------------------
0001-On-Windows-use-UTF-8-as-filesystem-encoding.patch (10.4 KB)


-- 
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>