Fix broken error check for iconv_open() result in iso_to_utf8()
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 31 Dec 2025 10:37:07 +0000 (11:37 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 31 Dec 2025 10:44:54 +0000 (11:44 +0100)
commitb5151841934b3e8014f835ef1f1a15967be974dc
tree3c20307c699ca5378b1f0b4c1aa78075530f2f76
parent7948e0e2d267015796ba3de1cf8bfb2f4c348478
Fix broken error check for iconv_open() result in iso_to_utf8()

The variable 'i2utf8' was misspelled as the function name 'iso_to_utf8'
in the error check. This would cause the error condition to always be false,
preventing proper detection of iconv_open() failures.

Luckily ISO-8859-1 to UTF-8 should always be available.
src/stringfunc.cpp