contrib: have check-code look at files in latin1 instead of ascii

Authored by durin42.

Description

contrib: have check-code look at files in latin1 instead of ascii

This way all files open. So far none of our patterns look like they'll care.

Differential Revision: https://phab.mercurial-scm.org/D4249