--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Encoding problem in UDD? psql gives UTF-8 error
- From: Martin Michlmayr <tbm@hpe.com>
- Date: Mon, 17 Aug 2015 19:35:23 +0200
- Message-id: <20150817173523.GA23778@jirafa.cyrius.com>
Package: qa.debian.org
User: qa.debian.org@packages.debian.org
Usertags: udd
I get the following error when I use psql to query:
udd=> SELECT id, source FROM bugs WHERE id = 785359;
ERROR: invalid byte sequence for encoding "UTF8": 0xa0
I looked up the bug and noticed
Reported by: Bohumil Šimčík <limuhob@outlook.com>
but everything should be UTF-8, right?
(It's strange that I get the error when I only SELECT id and
source.)
--
Martin Michlmayr
Linux for HP Helion, Hewlett-Packard
--- End Message ---
--- Begin Message ---
On 19/11/15 at 21:15 +0100, Lucas Nussbaum wrote:
> On 17/08/15 at 19:35 +0200, Martin Michlmayr wrote:
> > Package: qa.debian.org
> > User: qa.debian.org@packages.debian.org
> > Usertags: udd
> >
> > I get the following error when I use psql to query:
> >
> > udd=> SELECT id, source FROM bugs WHERE id = 785359;
> > ERROR: invalid byte sequence for encoding "UTF8": 0xa0
> >
> > I looked up the bug and noticed
> > Reported by: Bohumil Šimčík <limuhob@outlook.com>
> > but everything should be UTF-8, right?
> >
> > (It's strange that I get the error when I only SELECT id and
> > source.)
>
> Hi,
>
> the bugs importer was converting most fields to UTF8, but not the
> package names. Unfortunately, there are some package names in debbugs
> that are not UTF8 (due to non-breaking spaces, for example).
>
> I've fixed it in the importer. The live data should be fixed over the
> next 24 hours. I'll check again tomorrow.
hi,
all source packages have been fixed.
"SELECT id, source, package from bugs" works fine now.
the same with archived_bugs isn't fixed yet, but should be over the next
couple of days, when all bugs will be refreshed.
So, closing this bug.
Lucas
--- End Message ---