@@ -1371,14 +1371,12 @@ if (tc) oc = tc; } #else - if (c <= 0x7F) - c = toupper(c); - if (oc <= 0x7F) - oc = toupper(oc); + c = of_ascii_toupper(c); + oc = of_ascii_toupper(oc); #endif if (c > oc) { objc_autoreleasePoolPop(pool); return OF_ORDERED_DESCENDING;