Overview
dsh-encoding
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- **Does not replace or fix** the built-in `bash`/`pwsh` tools, `ctx.shell`, or `dsh-subprocess-local` — those are out of scope by design (version-fragile core work). This plugin is a *supplement*, and says so. - No sandbox / approval / background-task integration for `encoding_run`. - Encoding detection is heuristic (UTF-8 validity, UTF-16LE NUL pattern, GBK high-byte ratio, BOM). Ambiguous cases exist — e.g. BOM-less pure-CJK UTF-16LE vs GBK — so force `encoding` when you know the answer. - U+FFFD in the input is information already destroyed; recovery is impossible and is reported as such. - Output is capped at 8 MiB per stream; on timeout the process tree is killed (Windows: `taskkill /T /F`, POSIX: process-group SIGKILL).
