al_ustr_new_from_utf16

ALLEGRO_USTR *al_ustr_new_from_utf16(uint16_t const *s)
Introduced in 5.0.0

Create a new string containing a copy of the 0-terminated string s which must be encoded as UTF-16. The string must eventually be freed with al_ustr_free.

See also: al_ustr_new

Examples: ex_utf8


Most helpful discussions: