fix(sdk): decode command output as GBK when it is not valid UTF-8 (#1735)

This commit is contained in:
Sebastian Cao authored and GitHub committed 2026-10-29 12:37:37 -05:00
1 parent 1f8b006831
commit 3173f45e7e
3 files changed
+124 -5

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ Plugin API 1.13.0.
### Fixed
- `@termix-ssh/plugin-sdk/ui` is built in production mode, so outside Termix it no longer sends requests to the Vite dev server path
- `execCommand` buffers output and decodes it once as strict UTF-8 with a GBK fallback, exposed as `decodeCommandOutput`, so messages from a Windows host on a legacy codepage are readable instead of � characters
## 1.0.21