See Original text in context
method decoder(* --> Encoding::Decoder)
Should get a character decoder instance for this encoding, configured with the provided options. Options vary by encoding. The built-in encodings all support translate-nl
, which if True
will translate \r\n
into \n
while decoding.