You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Non-English directory name in a project leads to error #12
If there is a directory that contains e.g. characters in Chinese in its name, cppinclude stops with an error. Even if the directory doesn't contain any source files.
Steps to reproduce:
Create a directory with a name 夹
Run cppinclude in that directory
Result:
e:\tmp>cppinclude --version
0.3.0
e:\tmp>cppinclude.exe
Start initialization project ...
Start analyze sources ...
No mapping for the Unicode character exists in the target multi-byte code page.
e:\tmp>dir
Volume in drive E has no label.
Volume Serial Number is 4261-4543
Directory of e:\tmp
01/25/2021 02:08 PM <DIR> .
01/25/2021 02:08 PM <DIR> ..
01/21/2021 10:23 PM 889,344 cppinclude.exe
01/25/2021 02:05 PM <DIR> 夹
1 File(s) 889,344 bytes
3 Dir(s) 26,526,605,312 bytes free
Activity
cppinclude commentedon Jan 25, 2021
Thanks for report, we don't support path with Unicode yet. It will be fixed in future releases
mere-human commentedon Jan 25, 2021
Ok, looking forward to it!
ignore_dirsdoesn't work for such directories either.It seems I had to temporarily remove or rename such directories to run the analysis.