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.").