mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
e211e96d33
# Description This closes (nushell#10591) The Command encode's help text says that utf-16le and utf-16be encodings are not supported, however you could still use these encodings and they didn't work properly, since they returned the bytes UTF-8 encoded: ```bash "䆺ש" | encode utf-16 Length: 5 (0x5) bytes | printable whitespace ascii_other non_ascii 00000000: e4 86 ba d7 a9 ××××× ``` # User-Facing Changes The Command encode's help text was updated and now when trying to encode with utf-16le and utf-16be returns an error: ![screenshot](https://github.com/nushell/nushell/assets/119532691/c346dc57-8b42-4dfc-93d5-638b0041d89f) # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |