Package: itstool / 2.0.6-1
Patch seriesview the series file
|fix_crash_912099.patch | (download)||
21 17 + 4 - 0 !
fix the crash from #912099 ITS Tool 2.0.4 crashes when building some documentation, as reported in #912099. This comes from translations with invalid XML markup, which ITS Tool fails to merge (which is not abnormal), and to report these issues, needlessly encodes the original msgstr from unicode to bytes, causing it to be recoded using the default ascii codec, which fails when the msgstr contains anything out of ascii. . This patch removes the useless decoding, avoiding the failing subsequent recoding. It also explicitly encodes the output strings to be able to print them in all cases, even when the output encoding cannot be detected. Bug: https://github.com/itstool/itstool/issues/25 Bug-Debian: https://bugs.debian.org/912099
|fix_crash_918953.patch | (download)||
5 4 + 1 - 0 !
fix the crash from #918953 ITS Tool 2.0.4 crashes when output is redictected to a pipe, as reported in #918953. This comes from Python not knowing the preferred encoding for stdout, and using ASCII by default, therefore failing to encode anything outside of it. . This patch makes ITS Tool write to an UTF-8 encoding wrapper around stdout. Bug-Debian: https://bugs.debian.org/918953