ICONV - Encode and Decode Functions
In this Page
The iconv encode and decode functions can be used to encode/decode strings into/from a specified encoding type. Supported types are UTF-8, UTF-16, and UTF-32.
encode
Description | Encodes a string in the specified encoding format and returns that as a byte array. |
|---|---|
Syntax | Better Code Block |
Example |
|
decode
Description | Decodes an encoded byte array and returns a string in the specified encoding type. |
|---|---|
Syntax | Better Code Block |
Example |
|