version-fox / version-fox/vfox
[BUG]: 当环境变量中内容存在中文时,可能回由于乱码导致部分环境变量失效
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 4k
- Forks
- 157
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 5
Description
Version
v1.0.11
OS
Windows
Describe the bug
PowerShell环境下,当环境变量中存在中文时,经过Invoke-Expression "$(vfox activate pwsh)"命令后,中文会变成乱码,可能导致后续的环境变量出现异常无法使用
Screenshots[optional]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in PowerShell with a Chinese environment-variable value, using Invoke-Expression "$(vfox activate pwsh)". Trace the vfox activate pwsh output and verify that characters remain intact and subsequent environment variables are still usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, powershell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100