Make data structures in abc::text::get_encoding_size() more secure
Avoid using abc::text::get_line_terminator_bytes() since encoding is fixed
Discard unused abc::text::get_line_terminator_bytes()