Specify encoding when getting entity table

In PHP 5.4 this has changed to default to UTF-8 and the ISO-8859-1 is
much smaller so we use the Windows-1252 as that seems to fix all the
issues we might have.