https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112020-02-03T14:13:04ZRuby Issue Tracking SystemRuby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=841432020-02-03T14:13:04Zlarskanis (Lars Kanis)
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/84143/diff?detail_id=56294">diff</a>)</li></ul> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=841802020-02-06T19:06:09Zlarskanis (Lars Kanis)
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/84180/diff?detail_id=56337">diff</a>)</li></ul> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=883312020-11-02T14:24:05Zlarskanis (Lars Kanis)
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/88331/diff?detail_id=58253">diff</a>)</li></ul> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=883322020-11-02T14:31:30Zlarskanis (Lars Kanis)
<ul></ul><p><a class="user active user-mention" href="https://bugs.ruby-lang.org/users/9">@usa (Usaku NAKAMURA)</a> <a class="user active user-mention" href="https://bugs.ruby-lang.org/users/4">@nobu (Nobuyoshi Nakada)</a> <a class="user active user-mention" href="https://bugs.ruby-lang.org/users/5">@naruse (Yui NARUSE)</a> Could you please take a look at this request? I pushed an updated patch here: <a href="https://github.com/ruby/ruby/pull/2877" class="external">https://github.com/ruby/ruby/pull/2877</a></p> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=888012020-11-27T10:28:30Zlarskanis (Lars Kanis)
<ul></ul><p>Both Appveyor and Github-Actions use <code>Encoding.default_external = UTF-8</code> in their default ruby versions on Windows. <a href="https://ci.appveyor.com/project/larskanis/github-action-test/build/job/v6vgrdu9iprxu6x3" class="external">Appveyor sets this</a> per <code>RUBYOPT=-Eutf-8</code> and Github-Actions goes <a href="https://github.com/larskanis/github-action-test/runs/1463089885?check_suite_focus=true#step:4:12" class="external">a step further</a> and sets it per <code>chcp 65001</code>, which also changes the pseudo encoding <code>locale</code> to UTF-8.</p>
<p>So <code>Encoding.default_external = UTF-8</code> is already the de facto standard and ruby just need to follow the standard. 😊</p> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=889662020-12-07T16:43:47Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/13488">Feature #13488</a>: Set Encoding.default_external to UTF-8 on Windows</i> added</li></ul> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=889692020-12-07T16:49:03Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/12650">Feature #12650</a>: Use UTF-8 encoding for ENV on Windows</i> added</li></ul> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=890302020-12-09T08:08:12Zlarskanis (Lars Kanis)
<ul></ul><p>This issue can be closed. It's merged in <a class="changeset" title="Set default for Encoding.default_external to UTF-8 on Windows (#2877) * Use UTF-8 as default for..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/94b6933d1c6f4c8698319fbcac9dcecc9033b4b9">94b6933d1c6f4c8698319fbcac9dcecc9033b4b9</a></p> Ruby master - Feature #16604: Set default for Encoding.default_external to UTF-8 on Windowshttps://bugs.ruby-lang.org/issues/16604?journal_id=890342020-12-09T08:50:53Zduerst (Martin Dürst)duerst@it.aoyama.ac.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul>