Actions
Bug #2292
closed不正なマルチバイトStringのinspect結果にゴミが入る
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.8dev (2009-10-27 ruby_1_8 25514) [i386-darwin9.6.0]
Description
=begin
短いUTF-8文字列をinspectすると結果に"\0"が入ります。
$ ./ruby -v -e '$KCODE="u";s="\xe3\x81".inspect;$KCODE="n";p s'
ruby 1.8.8dev (2009-10-27 ruby_1_8 25514) [i386-darwin9.6.0]
""\343\201\000""
=end
Updated by nobu (Nobuyoshi Nakada) over 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r25515.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0