bazel-contrib / bazel-contrib/vscode-bazel
Non-ASCII target names are interpreted incorrectly
- Dominant language
- TypeScript
- Stars
- 296
- Forks
- 108
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 5
Description
Target names encoded in UTF-8 are decoded using Windows-1252. This is shown in the CodeLens and in the "Bazel Build Targets" window. Using either of these interfaces to start a bazel build fails because it uses the wrongly-encoded string in the command.



Contributor guide
Research direction
Start by tracing how target names are decoded and passed to the CodeLens and "Bazel Build Targets" window, then follow how either interface constructs the Bazel build command. Reproduce the problem with a UTF-8 target name and verify that both displays and the resulting command preserve the original name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100