DOKK / manpages / debian 12 / allegro5-doc / al_ustr_new_from_utf16.3alleg5.en
al_ustr_new_from_utf16(3alleg5) al_ustr_new_from_utf16(3alleg5)

al_ustr_new_from_utf16 - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_USTR *al_ustr_new_from_utf16(uint16_t const *s)
    

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(3alleg5).

al_ustr_new(3alleg5)

Allegro reference manual