al_ustr_new
ALLEGRO_USTR *al_ustr_new(const char *s)
Introduced in 5.0.0
Create a new string containing a copy of the C-style string s
. The string must eventually be freed with al_ustr_free.
See also: al_ustr_new_from_buffer, al_ustr_newf, al_ustr_dup, al_ustr_new_from_utf16
Most helpful discussions:
- al_load_bitmap question
- al_ref_ustr start and end effect
- International character input
- Mysterious text input issues
- letters are rendered in their seperated form, this may require glyph hook maybe?
- Input routine works, then does not
- Question about ALLEGRO_EVENT_KEY_CHAR
- Text input using allegro 5
- TINS 2016
- [A5] Problems with Static Linking
Other recent discussions:
- al_fprintf
- File I/O
- Portuguese accent showing in display
- Getting user input in allegro 5
- allegro5 text no output why?
- Converting allegro_key_xxx to the same character
- Something is terribly wrong with al_ustr_new()
- UTF-8 Russian text output
- How to display chinese In allegro5?
- al_draw_text() and special characters