summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2023-03-25 11:07:09 +0900
committernagachika <nagachika@ruby-lang.org>2023-03-25 11:07:09 +0900
commit823835499539aa53128a025ab72eb00c288dfb09 (patch)
treeb33c245f3ee3f81c89b78d98ac35d75922a24631 /test/ruby
parent810ae06c06312908fc1a7284773d8a9101ee145b (diff)
merge revision(s) d6ce4180a5b4dacbac895c9911031a6df6c61136: [Backport #19243]
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. --- spec/ruby/core/dir/home_spec.rb | 11 +++++++++++ win32/file.c | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-)
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions