Backport #2569
Ruby1.8.7p248 String#inspect broken on multibyte string.
| Status: | Closed | Start date: | 01/07/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - |
Description
Ruby 1.8.7p248にあげたところ、マルチバイト文字列の String#inspectで末尾1文字が正しく表示されません。 $ ruby -v -Ku -e 'p "あいうえお"' ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin9] "あいうえ\343\201\212" $ マルチバイトでなければちゃんと表示されます。 $ ruby -v -Ku -e 'p "あいうえお\n"' ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin9] "あいうえお\n" $
Related issues
History
Updated by usa (Usaku NAKAMURA) over 2 years ago
- Status changed from Open to Assigned
- Assignee set to shyouhei (Shyouhei Urabe)
ruby_1_8ブランチではr26103で直してあります。 というわけでバックポートお願いします。
Updated by shyouhei (Shyouhei Urabe) almost 2 years ago
- Status changed from Assigned to Closed
This issue was solved with changeset r27145. Kyosuke, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.