1
dsh-wsl-encoding
173787247/dsh-wsl-encoding
报告 PowerShell、cmd 与 LANG 编码,便于排查 UTF-8 与代码页问题。
安装
dsh plugin --profile web add github:173787247/dsh-wsl-encodingREADME
dsh-wsl-encoding
Install set: dsh-wsl-kit
Tool encoding_doctor: UTF-8 / chcp check; optional path= CRLF sample (fixes bash pipefail breakage on /mnt/c).
Where it sits
Flags UTF-8 versus the Windows code page, and can sample CRLF in scripts the agent is about to run.
flowchart LR
agent["dsh agent"] --> tool["encoding_doctor"] --> enc["UTF-8 vs Windows code page"]
Suite diagram and version snapshot: dsh-wsl-kit. This plugin is 0.2.0 (full). Do not copy that matrix into this README.
Compatibility
| Field | Value |
|---|---|
| Plugin | dsh-wsl-encoding 0.2.0 |
| Minimum dsh | ≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081) |
| Latest verified | See dsh-wsl-kit Compatibility (currently 0.1.5-rc.1) — single source of truth for the suite |
| Kit set | full or install alone |
| Cloud Flash | Use model id deepseek-flash (V4.1 Flash) in ~/.dsh/settings.yaml / llm-deepseek — not configured by this plugin |
| Agent Teams | Upstream experimental; not required here |
Suite floor versions: kit check-plugin-versions.sh. Fault tree: TROUBLESHOOTING.md.
dsh plugin --profile web add github:173787247/dsh-wsl-encoding
npm test
MIT