I am brand new to construct so I might be overlooking something, but I am particularly stumped on this issue.
In my spelling game the user can enter input via the keyboard with contractions like "don't." I have a need in my game to support both straight apostrophes "'" and smart apostrophes "’" as input, but I'd like the smart apostrophes to be converted to straight apostrophes "'" so that my text comparisons still work.
For Set text action I have:
replace(spellingTextBox.Text, "’", "'")
The problem is the smart quote is not getting recognized for comparison and is instead getting converted to "’". I think the construct editor is not recognizing that it is a UTF-8 character.
How can I properly replace the smart quote with a straight quote?