ruby-changes:9990
From: naruse <ko1@a...>
Date: Thu, 15 Jan 2009 22:48:05 +0900 (JST)
Subject: [ruby-changes:9990] Ruby:r21532 (trunk): Add rdoc.
naruse 2009-01-15 22:47:47 +0900 (Thu, 15 Jan 2009) New Revision: 21532 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21532 Log: Add rdoc. Modified files: trunk/transcode.c Index: transcode.c =================================================================== --- transcode.c (revision 21531) +++ transcode.c (revision 21532) @@ -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/