Help separating a String returned from TextEditor::getText into characters

Hi -

I need to parse a string returned from TextEditor::getText that will contain international characters such as ā ē ī ō ū ǖ Ā Ē Ī Ō Ū Ǖ etc.

I need to convert the upper case variant into the lower case variant. It seems that simply calling String::ToLower() does not do what I need.

I have tried various ways to traverse the string character by character including for(auto c : myText) and substring but nothing seems to return the correct international character that was entered into the text box that I can compare against to convert say Ā to ā.

I swear I have googled the heck out of this seemingly basic task and I can’t find an answer. :frowning: Any and all help appreciated!


I figured out my problem. First, it looks like I was saving the file the wrong way (or not using numeric codes for my constants) second I was missing the L from my character literals (L’Ā’)