[前][次][番号順一覧][スレッド一覧]

ruby-changes:59374

From: QuestionDriven <ko1@a...>
Date: Sun, 22 Dec 2019 23:02:07 +0900 (JST)
Subject: [ruby-changes:59374] 9654241d5d (master): [Doc] Fix wrong example in Encoding.aliases

https://git.ruby-lang.org/ruby.git/commit/?id=9654241d5d

From 9654241d5d5717b7cd6ddedb6c192e971f9d473a Mon Sep 17 00:00:00 2001
From: QuestionDriven <QuestionDriven@g...>
Date: Tue, 17 Dec 2019 07:05:17 +0000
Subject: [Doc] Fix wrong example in Encoding.aliases


diff --git a/encoding.c b/encoding.c
index 50093df..ebc2852 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1699,8 +1699,8 @@ rb_enc_aliases_enc_i(st_data_t name, st_data_t orig, st_data_t arg) https://github.com/ruby/ruby/blob/trunk/encoding.c#L1699
  * Returns the hash of available encoding alias and original encoding name.
  *
  *   Encoding.aliases
- *   #=> {"BINARY"=>"ASCII-8BIT", "ASCII"=>"US-ASCII", "ANSI_X3.4-1986"=>"US-ASCII",
- *         "SJIS"=>"Shift_JIS", "eucJP"=>"EUC-JP", "CP932"=>"Windows-31J"}
+ *   #=> {"BINARY"=>"ASCII-8BIT", "ASCII"=>"US-ASCII", "ANSI_X3.4-1968"=>"US-ASCII",
+ *         "SJIS"=>"Windows-31J", "eucJP"=>"EUC-JP", "CP932"=>"Windows-31J"}
  *
  */
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]