Just... I'm pretty sure python3-debian handles utf8 just fine, at the very
least.

On Sat, 23 Nov 2019, 6:51 pm Chris Lamb, <[email protected]> wrote:

> Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
> <https://salsa.debian.org/reproducible-builds/diffoscope> Commits:
>
>    - *ab342790
>    
> <https://salsa.debian.org/reproducible-builds/diffoscope/commit/ab342790d824d1683d8f7654c570b810e3540274>*
>    by Chris Lamb *at 2019-11-23T17:51:06Z*
>
>    Limit .dsc and .buildinfo file matching to files in ASCII format. (Closes: 
> reproducible-builds/diffoscope#77)
>
>
> 1 changed file:
>
>    - diffoscope/comparators/debian.py
>    <#m_-1825202084557878326_6e9ba94e7492bb3557b65284d13a9dd94a843708>
>
> Changes:
> - *diffoscope/comparators/debian.py*
> <https://salsa.debian.org/reproducible-builds/diffoscope/commit/ab342790d824d1683d8f7654c570b810e3540274#6e9ba94e7492bb3557b65284d13a9dd94a843708>
> ------------------------------
> ... ... @@ -166,6 +166,7 @@ class DebControlFile(File):
> 166 166
>
>  class DotChangesFile(DebControlFile):
>
> 167 167
>
>      DESCRIPTION = "Debian .changes files"
>
> 168 168
>
>      FILE_EXTENSION_SUFFIX = '.changes'
>
> 169
>
> +    FILE_TYPE_RE = re.compile(r'^ASCII text')
>
> 169 170
>
>   170 171
>
>      @classmethod
>
> 171 172
>
>      def recognizes(cls, file):
>
> ... ... @@ -262,6 +263,7 @@ class DotBuildinfoFile(DebControlFile):
> 262 263
>
>      DESCRIPTION = "Debian .buildinfo files"
>
> 263 264
>
>      CONTAINER_CLASS = DotBuildinfoContainer
>
> 264 265
>
>      FILE_EXTENSION_SUFFIX = '.buildinfo'
>
> 266
>
> +    FILE_TYPE_RE = re.compile(r'^ASCII text')
>
> 265 267
>
>   266 268
>
>      @classmethod
>
> 267 269
>
>      def recognizes(cls, file):
>
>
> —
> View it on GitLab
> <https://salsa.debian.org/reproducible-builds/diffoscope/commit/ab342790d824d1683d8f7654c570b810e3540274>.
>
> You're receiving this email because of your account on salsa.debian.org.
> If you'd like to receive fewer emails, you can adjust your notification
> settings.
> _______________________________________________
> [email protected] mailing list
>
> To change your subscription options, visit
> https://lists.reproducible-builds.org/listinfo/rb-commits.
>
> To unsubscribe, send an email to
> [email protected].
>
_______________________________________________
[email protected] mailing list

To change your subscription options, visit 
https://lists.reproducible-builds.org/listinfo/rb-general.

To unsubscribe, send an email to 
[email protected].

Reply via email to