string_to_binary/3 is an Erlang function exported by "api_age_unicode" module. Converts Unicode string into binary sequence. The Unicode Standard, since v2.0 (July, 1996), encodes characters in the range U+0000..U+10FFFF, which amounts to a 21-bit code space. This function provides flexibility to encode the input string with different number of 8-bit bytes into desired binary sequence. |
|
|