[Popcon-developers] stable Packages.gz is UTF-8
[Bill Allombert]
> So I would like to know the specific issue you met, and to fix it
> properly.
The issue I ran into was that popcon.debian.org was no longer being
updated because popcon.pl crashed. I tracked it down to a problem
with reading the Packages.gz file as UTF-8 and finding a non-UTF-8
character. I solved it by picking the 8-bit charset that seemed to
match the file best, ISO-8859.1. Any idea how to guess charset when
the content is mixed?
Happy hacking,
--
Petter Reinholdtsen
Reply to: