#1110 Default to UTF-8 encoding for text files
Closed: Invalid Opened by bignose.

Text files in repositories should be displayed using UTF-8 encoding, if there is no good reason to assume a different codec.

For example, https://pagure.io/python-daemon/blob/master/f/daemon/_metadata.py is encoded in the default UTF-8, but is displayed on Pagure with mojibake because Pagure assumes an incorrect encoding.


I think this is a duplicate of https://pagure.io/pagure/issue/891 so let's close and keep the discussion there.

Thanks for the report though :)

Metadata