Hi Guys,

 

I'm reading a text file which is supposed to be ASCII encoded.  This file contains a list of filepaths and was created by a Python program.

 

Well, it turns-out that file names on Windows can contain illegal UTF-8 characters.  This causes ZnUTF8Encoder to signal 'Illegal leading byte for utf-8 encoding' and crash the program.

 

I would like to handle this situation more elegantly, is there a more appropriate code-page to use for the Windows filesystem?

 

 

Craig