Fix crash using Python 3.12 trying to change character set

  • Fix crash using Python 3.12 trying to change which character set to use reading a file/stream that does not support the reconfigure() method. Typical error message '_io.StringIO' object has no attribute 'reconfigure'
Edited by Jostein Leira

Merge request reports

Loading