Control: retitle -1 UDD: bug report title mangled to mojibake from valid UTF-8
On 08-Dec-2020, Felix Lechner wrote: > I had a very similar issue in Lintian's database a few weeks ago. It > was caused by uploading (properly UTF-8 encoded) JSON to Postgres. > The Perl driver DBD::Pg encoded the data again and picked the 7-bit > clean escape sequences according to RFC4627, which is what I believe > you are seeing. They are further described here: > > https://metacpan.org/pod/JSON::PP#ascii > > My solution was to disable the automatic decoding layer in DBD::Pg > via 'pg_enable_utf8 => 0'. It mirrors how I handle encoding > elsewhere (i.e. explicitly and without PerlIO, Bug#972878) and works > great […] Is the issue within DBD::Pg — should that Perl module default to expecting UTF-8 text like most of the rest of Debian? As another example, bug#1009426 has the valid UTF-8 title xkcdpass: FTBFS: test case raises “TypeError: … missing 1 required positional argument: 'self'” which is rendered correctly in bugs.debian.org web pages. But UDD renders it as: RC bug marked as done but still affects unstable: #1009426: xkcdpass: FTBFS: test case raises â��TypeError: â�¦ missing 1 required positional argument: 'self'â�� -- \ “Injustice is relatively easy to bear; what stings is justice.” | `\ —Henry L. Mencken | _o__) | Ben Finney <bign...@debian.org>
signature.asc
Description: PGP signature