# CharsetDecode()

Converts as string to a binary representation.

```
CharsetDecode( encoded_binary=string, encoding=string );
```

**Returns:** binary

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| encoded_binary | string | Yes | A string containing data to encode in binary format. *Alias: string, encodedBinary* |  |
| encoding | string | Yes | A string specifying encoding of the input data. |  |

# Examples

```cfml
dump(CharsetDecode("I am a string.", "utf-8"));
```





