...
FIO11-EX0: Untrusted binary data that is expected to be a valid string may be read and converted to a string. Doing so safely is explained in IDS17-J. Specify the character encoding while performing Use compatible encodings on both sides of file or network IO. Also see guideline FIO02-J. Keep track of bytes read and account for character encoding while reading data.
...