diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-07 15:05:30 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-07 15:05:30 +0000 |
commit | d4832b7aac602e22d775ce1d71551759b1710f0c (patch) | |
tree | 011eb3ad0e25a509f437ba2e7bb046e2dd7699f6 /transcode.c | |
parent | 2403b1fe43a0b741dacb10bbf8b2f34e28a4460d (diff) |
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode.c')
-rw-r--r-- | transcode.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/transcode.c b/transcode.c index 9d1d2a9b97..cd7be00e12 100644 --- a/transcode.c +++ b/transcode.c @@ -2518,15 +2518,14 @@ make_dummy_encoding(const char *name) * It returns nil if the argument is not a stateful encoding. * * "corresponding stateless encoding" is a stateless encoding which - * can represent all characters in the statefull encoding. + * represents same characters in the statefull encoding. * - * So, no conversion undefined error occur from the stateful encoding to the stateless encoding. + * So, no conversion undefined error occur between the stateful encoding and the stateless encoding. * - * Currently, EUC-JP is the corresponding stateless encoding of ISO-2022-JP. + * For ISO-2022-JP, the dedicated stateless encoding, stateless-ISO-2022-JP, is defined. * - * Encoding::Converter.stateless_encoding("ISO-2022-JP") #=> #<Encoding:EUC-JP> + * Encoding::Converter.stateless_encoding("ISO-2022-JP") #=> #<Encoding:stateless-ISO-2022-JP> * - * (This may be changed in future because EUC-JP cannot distinguish JIS X 0208 1978 and 1983.) */ static VALUE econv_s_stateless_encoding(VALUE klass, VALUE arg) |