What is the recommended way to count the number of code points (not code units) in a LPTSTR in C? wcslen() isn't helpful here because it returns the number of code units, but I need the number of code points in the LPTSTR, i.e. the number of characters in the string.
Aucun commentaire:
Enregistrer un commentaire