Open erkyrath opened 1 year ago
The commented-out lines for glk_buffer_to_upper_case_uni() and glk_buffer_to_lower_case_uni() are in case you want to compare the behavior of those functions. They work correctly.
Useful test inputs:
abcde
αβγδε
fflfi (the first character of this line becomes three characters when title-cased)
Stack trace:
The crash only happens when the final argument (
lowerrest
) is false. If it's true, the function seems to work correctly.Test case pasted below. I've phrased it as an I7 game to make it easier to test in the I7 IDE.