Actions
Backport #2569
closedRuby1.8.7p248 String#inspect broken on multibyte string.
Status:
Closed
Assignee:
Description
=begin
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"
$
=end
Updated by usa (Usaku NAKAMURA) almost 15 years ago
- Status changed from Open to Assigned
- Assignee set to shyouhei (Shyouhei Urabe)
=begin
ruby_1_8ブランチではr26103で直してあります。
というわけでバックポートお願いします。
=end
Updated by shyouhei (Shyouhei Urabe) over 14 years ago
- Status changed from Assigned to Closed
=begin
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.
=end
Actions
Like0
Like0Like0