Actions
Bug #9294
closedDocumentation for IO#read claims resulting string is always ASCII-8BIT encoding
Description
Documentation for IO#read claims resulting string is always ASCII-8BIT encoding. This is not true (anymore).(http://www.ruby-doc.org/core-2.0.0/IO.html#method-i-read)
Updated by zzak (zzak _) almost 11 years ago
- Category set to doc
- Status changed from Open to Assigned
- Assignee set to zzak (zzak _)
Thanks, I'll take a look when I get a chance.
Updated by stomar (Marcus Stollsteimer) almost 8 years ago
- Status changed from Assigned to Closed
- Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
steenslag (siep korteling) wrote:
Documentation for IO#read claims resulting string is always ASCII-8BIT encoding.
This statement refers only to the case that an integer length
argument is provided; then binmode is used and the resulting string is always ASCII-8BIT.
I tried to clarify this further in r58008 ("In the case of an integer length
, the resulting string is always in ASCII-8BIT encoding.").
Updated by usa (Usaku NAKAMURA) almost 8 years ago
- Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED
Updated by usa (Usaku NAKAMURA) over 7 years ago
- Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONE, 2.3: REQUIRED, 2.4: REQUIRED
ruby_2_2 r58127 merged revision(s) 58008.
Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
- Backport changed from 2.2: DONE, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONE, 2.3: DONE, 2.4: REQUIRED
ruby_2_3 r58169 merged revision(s) 58008.
Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
- Backport changed from 2.2: DONE, 2.3: DONE, 2.4: REQUIRED to 2.2: DONE, 2.3: DONE, 2.4: DONE
ruby_2_4 r58628 merged revision(s) 58008.
Actions
Like0
Like0Like0Like0Like0Like0Like0