C's char array can hold an ASCII string, such that a user can query individual characters by indexing the char array, modify them or do what ever they want to, its pretty straight forward. I have browsed through many questions+answers on stack(exchange|overflow) on topic of unicode strings in char arrays but haven't found good interface for iterating over and manipulating such strings. So what am I looking for:
- A way to iterate over unicode string in C, and print each character
- Test each character to belong to a certain set of unicode characters
- Modify all unicode characters in the string that belong to that set and store the result as a new string.