diff options
| author | Lars Kanis <lars@greiz-reinsdorf.de> | 2022-12-18 21:05:22 +0100 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-24 22:54:23 +0900 |
| commit | d6ce4180a5b4dacbac895c9911031a6df6c61136 (patch) | |
| tree | 5fcea95c22a419d1e9286d83daccecb87cb043e6 /test/ruby/test_variable.rb | |
| parent | 18c1ca8f4c0748905d5cedb6c044df507ea8ad6a (diff) | |
Windows: Fix encoding of Dir.home
Dir.home returns an UTF-8 string since ruby-3.0, but the actual
encoding of the bytes was CP_ACP or CP_OEMCP.
That led to invalid bytes when calling Dir.home with an unicode
username.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6991
Diffstat (limited to 'test/ruby/test_variable.rb')
0 files changed, 0 insertions, 0 deletions
