Fixed support for Chinese

Fixed support for documents which used Chinese file name when you host the on apache + php.