Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Unicode > age_unicode
convert_to_utf8/2
Description
convert_to_utf8/2 is an Erlang function exported by "api_age_unicode" module.
Converts Input string with particular Charset to UTF-8.
Note: An input string already encoded in UTF-8 remains unchanged.
References
None
Parameters
Name
Type
Charset
string()
Name of supported code page.
Input
Unicode string for encoding to the selected code page.
Result
Value or Type
Decoded string to UTF-8.