summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authorLars Kanis <[email protected]>2020-12-07 17:48:37 +0100
committer<[email protected]>2020-12-08 01:48:37 +0900
commit94b6933d1c6f4c8698319fbcac9dcecc9033b4b9 ()
tree6950fff7edffd487a5fd40b154e8f875bddecd82 /encoding.c
parent3bf7b999e503199e2e9fe68ade25ee6830b3e57e (diff)
Set default for Encoding.default_external to UTF-8 on Windows (#2877)
* Use UTF-8 as default for Encoding.default_external on Windows * Document UTF-8 change on Windows to Encoding.default_external fix https://bugs.ruby-lang.org/issues/16604
Notes: Merged-By: nurse <[email protected]>
-rw-r--r--encoding.c4
1 files changed, 3 insertions, 1 deletions
@@ -1684,7 +1684,9 @@ rb_enc_default_external(void)
* File data written to disk will be transcoded to the default external
* encoding when written, if default_internal is not nil.
*
- * The default external encoding is initialized by the locale or -E option.
*/
static VALUE
get_default_external(VALUE klass)