Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,100
    • Issues 4,100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Gitlab will be updated February 2nd, between 8am and 9am EST (UTC-5). Gitlab will be offline during that time.

  • CMakeCMake
  • CMakeCMake
  • Issues
  • #22032
Closed
Open
Issue created Apr 05, 2021 by Sam Freed@sfreed141Contributor

VS: Unicode paths garbled when using MSBuild generator

Repro steps:

  1. Japanese OS (Windows)
  2. Create a CMake project in a directory containing unicode characters, e.g. "プロジェクト"
  3. Generate using "Visual Studio 16 2019" generator
  4. Run build

Expected: Unicode characters display properly Actual: Unicode characters are garbled

This is related to this MSBuild issue. The solution should be to use UseUtf8Encoding="Always" instead of StdOutEncoding="UTF-8" in the generated MSBuild files.

Edited Apr 05, 2021 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking