mirror of
https://github.com/nushell/nushell.git
synced 2024-12-02 05:13:56 +01:00
23 lines
277 B
Markdown
23 lines
277 B
Markdown
|
---
|
||
|
title: decode
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Decode bytes as a string.
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> decode (encoding)```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `encoding`: the text encoding to use
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Decode the output of an external command
|
||
|
```shell
|
||
|
> cat myfile.q | decode utf-8
|
||
|
```
|