[Solved] Yaml Text Error: UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte : illegal multibyte sequence

Reference: yaml text error Unicode decodeerror: ‘GBK’ codec can’t decode byte: illegal multibyte sequence

When reading yaml file, Unicode decodeerror is reported: ‘GBK’ codec can’t decode byte: illegal multibyte sequence

Change the reading mode of yaml to binary form, as shown in the figure:

Similar Posts: