From 93116569145bbff34355e08722c6689487d8b858 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Thu, 11 May 2017 20:40:57 +0200 Subject: Better wording for __ENCODING__ "locale encoding" is misleading since it doesn't mean Encoding.find("locale") but the encoding used to interpret the script file. It's therefore better to call it "script encoding" as in the paragraphs above. Closes: https://github.com/ruby/ruby/pull/1611 --- encoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'encoding.c') diff --git a/encoding.c b/encoding.c index 908a6458a0..d6fc9349db 100644 --- a/encoding.c +++ b/encoding.c @@ -1548,7 +1548,7 @@ rb_enc_default_internal(void) * Additionally String#encode and String#encode! use the default internal * encoding if no encoding is given. * - * The locale encoding (__ENCODING__), not default_internal, is used as the + * The script encoding (__ENCODING__), not default_internal, is used as the * encoding of created strings. * * Encoding::default_internal is initialized by the source file's -- cgit v1.2.1