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

ruby-changes:27524

From: zzak <ko1@a...>
Date: Mon, 4 Mar 2013 10:26:56 +0900 (JST)
Subject: [ruby-changes:27524] zzak:r39575 (trunk): * encoding.c: Typo in Encoding overview by Tom Wardrop [GH fixes #255]

zzak	2013-03-04 10:24:40 +0900 (Mon, 04 Mar 2013)

  New Revision: 39575

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39575

  Log:
    * encoding.c: Typo in Encoding overview by Tom Wardrop [GH fixes #255]

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c

Index: encoding.c
===================================================================
--- encoding.c	(revision 39574)
+++ encoding.c	(revision 39575)
@@ -1676,7 +1676,7 @@ rb_enc_aliases(VALUE klass) https://github.com/ruby/ruby/blob/trunk/encoding.c#L1676
  *   #=> "R\xC3\xA9sum\xC3\xA9"
  *   string.encoding
  *   #=> #<Encoding:ISO-8859-1>
- *   string.force_encoding(Encoding::UTF-8)
+ *   string.force_encoding(Encoding::UTF_8)
  *   #=> "R\u00E9sum\u00E9"
  *
  * Second, it is possible to transcode a string, i.e. translate its internal
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39574)
+++ ChangeLog	(revision 39575)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Mar  4 10:23:00 2013  Zachary Scott  <zachary@z...>
+
+	* encoding.c: Typo in Encoding overview by Tom Wardrop [GH fixes #255]
+
 Sun Mar  3 12:35:08 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/mkmf.rb (MakeMakefile#libpath_env): set runtime library path for

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

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