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
| duplicated by Backport87 - Backport #2622: UTF-8文字列のinspect結果がp160とp249で異なる。 | Closed | 01/22/2010 |
History
Updated by Usaku NAKAMURA about 2 years ago
- Status changed from Open to Assigned
- Assignee set to Shyouhei Urabe
ruby_1_8ブランチではr26103で直してあります。 というわけでバックポートお願いします。
Updated by Shyouhei Urabe over 1 year 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.