[Libs/iconv] Swaped "to" and "from" encodings #126

Open
opened 2025-03-09 22:54:43 +01:00 by mxlgv · 0 comments
Owner

Either iconv_open() creates an invalid handler or iconv() handles it incorrectly. The result is swapped "from" and "to" encodings. However, this works in C-- programs because iconv_open() is called with swapped parameters. In addition, iconv() should not write a null terminator to the output string.

Either `iconv_open()` creates an invalid handler or `iconv()` handles it incorrectly. The result is swapped "from" and "to" encodings. However, this works in `C--` programs because `iconv_open()` is called with swapped parameters. In addition, `iconv()` should not write a null terminator to the output string.
mxlgv added the
Kind
Bug
Category/Libraries
C
Priority
Low
labels 2025-03-09 22:54:44 +01:00
mxlgv changed title from Libs/iconv: Swaped "to" and "from" encodings to [Libs/iconv] Swaped "to" and "from" encodings 2025-03-09 22:58:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#126
No description provided.