Update filter.php

Change to force interpretation of file as utf-8 necessary for extended alphabets
Merge pull request #58 from dthies/patch-1

Update filter.php