From: larskanis@... Date: 2020-11-26T12:26:24+00:00 Subject: [ruby-core:101091] [Ruby master Feature#12650] Use UTF-8 encoding for ENV on Windows Issue #12650 has been updated by larskanis (Lars Kanis). A patch for ruby-3.0 is here: https://github.com/ruby/ruby/pull/3818 ---------------------------------------- Feature #12650: Use UTF-8 encoding for ENV on Windows https://bugs.ruby-lang.org/issues/12650#change-88766 * Author: davispuh (D��vis Mos��ns) * Status: Open * Priority: Normal * Assignee: cruby-windows * Target version: 3.0 ---------------------------------------- Windows environment variables supports Unicode (same wide WinAPI) and so there's no reason to limit ourselves to any codepage. Currently ENV would use locale's encoding (console's codepage) which obviously won't work correctly for characters outside of those codepages. I've attached a patch which implements this and fixes bug #9715 ---Files-------------------------------- 0001-Always-use-UTF-8-encoded-environment-on-Windows.patch (3.64 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: