From 7fa12844eda0348fee3ddf8f2799074796050ddd Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 12 Mar 2020 13:02:09 +0100 Subject: [PATCH] [text] TextToUpper(): Added note on diacritics --- src/text.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/text.c b/src/text.c index 12e3cf3ef..9276d3b10 100644 --- a/src/text.c +++ b/src/text.c @@ -1348,6 +1348,9 @@ const char *TextToUpper(const char *text) { buffer[i] = (char)toupper(text[i]); //if ((text[i] >= 'a') && (text[i] <= 'z')) buffer[i] = text[i] - 32; + + // TODO: Support Utf8 diacritics! + //if ((text[i] >= 'à') && (text[i] <= 'ý')) buffer[i] = text[i] - 32; } else { buffer[i] = '\0'; break; } }