Correct template for empty hexes
Handle utf-8 and windows-1252 encodings for makers