Hi Yavor, On Mon, Sep 09, 2024 at 08:11:00AM +0300, Yavor Doganov wrote: > The universal-detector package (only in sid/testing) embeds a copy of > uchardet. It is used only by unar. > > I tried hard to make it work with the uchardet shared library but > there were several problems: > > * The test program sometimes gives wrong results, e.g. it reports a > UTF-8 file as WINDOWS-1258. A pure C test program using only > uchardet gives the same results so this is probably a bug in > uchardet. > * There are discrepancies in the returned strings, > e.g. uchardet_get_charset returns "ASCII" while unar expects > "US-ASCII". > * unar uses the so called "confidence" feature (a float value > representing the certainty of the the guess) which is not > available through public uchardet functions. > > By examining the diff between universal-detector's uchardet copy and > the uchardet versions in various Debian releases I came to the > conclusion that this is a fork.
Many thanks, I have added it as such: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/9e05a4b5110eae60e930a92d3bc402c086edcda4 Regards, Salvatore
