# GetEncoding()

Returns the encoding (character set) of the Form or URL scope.

```
GetEncoding( scope=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| scope | string | Yes | one of the following - form - url |  |

# Examples

```1
my_scope = getEncoding("url");
dump(my_scope); // UTF-8
```







# Categories

[Scopes](../../categories/scopes.md)