This project is read-only.


Garbled Characters in FolderPath list


The "SaveFolderFile" methord and "ParseFolderFile" methord in "GlobalHelper.cs" works fine if all the folder paths are in English characters, but if there are any double byte character(such as chinese or Japanese character) in the path, "ParseFolderFile" methord will cause garbled characters.
In the "SaveFolderFile" methord:
streamWriter = new StreamWriter(fileStream);
Acorrding to MSDN, this methord will use UTF-8 encord, but in the "ParseFolderFile" methord:
streamReader = new StreamReader(fileStream, System.Text.Encoding.Default, true);
You used "Default", acorrding to MSDN, "Default" meaning ANSI ASCII, encoding type mismath between read and write.