summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index e1441ca..64748ce 100644
--- a/encoding.c
+++ b/encoding.c
@@ -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.
+ * The default external encoding is initialized by the -E option.
+ * If -E isn't set, it is initialized to UTF-8 on Windows and the locale on
+ * other operating systems.
*/
static VALUE
get_default_external(VALUE klass)