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

ruby-changes:10024

From: yugui <ko1@a...>
Date: Fri, 16 Jan 2009 00:40:57 +0900 (JST)
Subject: [ruby-changes:10024] Ruby:r21568 (ruby_1_9_1): merges r21532 from trunk into ruby_1_9_1.

yugui	2009-01-16 00:40:21 +0900 (Fri, 16 Jan 2009)

  New Revision: 21568

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

  Log:
    merges r21532 from trunk into ruby_1_9_1.
    Add rdoc.

  Modified files:
    branches/ruby_1_9_1/transcode.c

Index: ruby_1_9_1/transcode.c
===================================================================
--- ruby_1_9_1/transcode.c	(revision 21567)
+++ ruby_1_9_1/transcode.c	(revision 21568)
@@ -2889,7 +2889,7 @@
 }
 
 /*
- * Check the existence of a convertsion path.
+ * Check the existence of a conversion path.
  * Returns the number of converters in the conversion path.
  * result: >=0:success -1:failure
  */
@@ -3496,6 +3496,10 @@
  * If a conversion error occur,
  * Encoding::UndefinedConversionError or
  * Encoding::InvalidByteSequenceError is raised.
+ * Encoding::Converter#convert doesn't supply methods to recover or restart
+ * from these exceptions.
+ * When you want to handle these conversion errors,
+ * use Encoding::Converter#primitive_convert.
  *
  */
 static VALUE

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

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