check file encoding when it single request