Bug #870 [ruby-reference-manual:1313]

Ruby1.9.1のString#[]などの説明が「文字単位」ではなく「バイト単位」になっている

Added by Tomoki MAEDA 461 days ago. Updated 409 days ago.

Status :Open Start :12/14/2008
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :doc
Target version :-
reporter :

ruby_version :

1.9.1


Description

http://doc.okkez.net/191/view/method/String/i/=5b=5d
などで、
 nth 番目のバイトを整数 (文字コード) で返します。 
とありますが、Ruby1.9では文字単位での処理を行うので、
この説明は間違いだと思います。

Also available in: Atom PDF