[RESOLVED] tis-irfanview package update
Published: March 21, 2019 - 10:00 AM
Good morning,
I am trying to update the tis-irfanview package to the latest version of the software (4.52).
I'm encountering a problem in the update section of the ini file:
The new ini file is encoded in UTF16-LE and the [Language] section is no longer on the first line but on the 3rd line in the file.
As a result, the inifile_writestring function can no longer find the [Language] section in the file and returns the following error:
THANKS
I am trying to update the tis-irfanview package to the latest version of the software (4.52).
I'm encountering a problem in the update section of the ini file:
The new ini file is encoded in UTF16-LE and the [Language] section is no longer on the first line but on the 3rd line in the file.
As a result, the inifile_writestring function can no longer find the [Language] section in the file and returns the following error:
Any ideas?MissingSectionHeaderError: File contains no section headers.
file: C:\Program Files (x86)\IrfanView\i_view32.ini, line: 1
'\xff\xfe;\x00 \x00U\x00N\x00I\x00C\x00O\x00D\x00E\x00 \x00F\x00I\x00L\x00E\x00 \x00-\x00 \x00e\x00d\x00i\x00t\x00 \x00w\x00i\x00t\x00h\x00 \x00c\x00a\x00r\x00e\x00 \x00;\x00-\x00)\x00\r\x00\n'
THANKS