Actions
Backport #4112
closedStringIO#gets(limit) returns incomplete string
Status:
Closed
Assignee:
Description
=begin
StringIO#getsに長さを指定したとき、マルチバイト文字が途中で切れることがあります。
StringIO.new("\u3042").gets(1) #=> "\xE3"
StringIO.new("a".encode("utf-16be")).gets(1) #=> "\x00"
=end
Files
Updated by nobu (Nobuyoshi Nakada) over 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r30063.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Updated by nobu (Nobuyoshi Nakada) over 13 years ago
- Category set to ext
- Status changed from Closed to Assigned
- Assignee changed from nobu (Nobuyoshi Nakada) to yugui (Yuki Sonoda)
=begin
=end
Updated by yugui (Yuki Sonoda) over 13 years ago
- Status changed from Assigned to Closed
=begin
This issue was solved with changeset r30308.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0Like0Like0