Adding support for php and windows encoded files