ruby-changes:3302
From: ko1@a...
Date: 30 Dec 2007 18:19:16 +0900
Subject: [ruby-changes:3302] akr - Ruby:r14795 (trunk): update force_encoding document.
akr 2007-12-30 18:19:09 +0900 (Sun, 30 Dec 2007)
New Revision: 14795
Modified files:
trunk/string.c
Log:
update force_encoding document.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=14795&r2=14794
Index: string.c
===================================================================
--- string.c (revision 14794)
+++ string.c (revision 14795)
@@ -5352,6 +5352,8 @@
* str.force_encoding(encoding) => str
*
* Changes the encoding to +encoding+ and returns self.
+ *
+ * If nil is given as +encoding+, "ASCII-8BIT" is used.
*/
static VALUE
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml