Requalify utf8 check for .md file as Error

This commit is contained in:
Alexandre Aubin 2022-12-03 19:13:36 +01:00
parent bbd00502ad
commit c205c300e7

View file

@ -712,8 +712,8 @@ class App(TestSuite):
if not file_:
continue
file_ = file_.split()[0]
yield Warning(
"%s appears to be encoded as latin-1 / iso-8859-1. Please consider converting it to utf-8 to avoid funky issues. Something like 'iconv -f iso-8859-1 -t utf-8 SOURCE > DEST' should do the trick."
yield Error(
"%s appears to be encoded as latin-1 / iso-8859-1. Please convert it to utf-8 to avoid funky issues. Something like 'iconv -f iso-8859-1 -t utf-8 SOURCE > DEST' should do the trick."
% file_
)