Bug #870
Ruby1.9.1のString#[]などの説明が「文字単位」ではなく「バイト単位」になっている
| Status: | Closed | Start date: | 12/14/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % 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
fix #870
History
Updated by 5 5 almost 2 years ago
- Assignee set to taifu kouya
Updated by okkez _ over 1 year ago
- Assignee changed from taifu kouya to okkez _
Updated by okkez _ over 1 year 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.