Skip to content

Non-English directory name in a project leads to error #12

Description

@mere-human

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:

  1. Create a directory with a name
  2. 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

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions