Bug #870

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

Added by tmaeda (Tomoki MAEDA) over 3 years ago. Updated about 1 year ago.

[ruby-reference-manual:1313]
Status:Closed Start date:12/14/2008
Priority:Normal Due date:
Assignee:okkez (okkez _) % Done:

100%

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では文字単位での処理を行うので、
この説明は間違いだと思います。

Associated revisions

Revision 4189
Added by okkez almost 2 years ago

fix #870

History

Updated by 5.5 (5 5) about 2 years ago

  • Assignee set to kouya (taifu kouya)

Updated by okkez (okkez _) almost 2 years ago

  • Assignee changed from kouya (taifu kouya) to okkez (okkez _)

Updated by okkez (okkez _) almost 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
This issue was solved with changeset r4189.
Tomoki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

Also available in: Atom PDF