nushell/docs/commands/decode.md

277 B

title layout version
decode command 0.59.1

Decode bytes as a string.

Signature

> decode (encoding)

Parameters

  • encoding: the text encoding to use

Examples

Decode the output of an external command

> cat myfile.q | decode utf-8