SyntaxFix
Write A Post
Hire A Developer
Questions
Sometimes you face these problems if you specify UTF-8 encoding also. I recommend you to specify encoding while reading file and same encoding while writing to file. This might solve your problem.