News for hackers. Stuff that matters.
Re:Glibc Buffer Overflow in Iconv by hifromwork on Monday April 22, 2024 @06:25AM (#40112950)
>using .decode requires that your input has a valid, known encoding which is rarely true in the real world of messy data.

How else would you decode a string without knowing its encoding? You can either guess (and risk invalid result/decode errors) or store this information somewhere. This is universal and true in every language. In most cases today people choose to guess utf-8.

There are no comments on this comment yet.