Specify encoding when opening file
Windows path support