Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Unicode > age_unicode_codec
encode/2
Description
encode/2 is an Erlang function exported by "age_unicode_codec" module.
Encodes a Unicode string to specific code page.
References
•Supported code pages
Parameters
Name
Type
Charset
string()
Name of supported code page.
Input
Unicode string for encoding to the selected code page.
Result
Value or Type
Encoded string to the selected code page.