You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain locales (such as Türkiye) perform toUpperCase() and toLowerCase() in a way that is non-intuitive and inconsistent with English speaking locales. For example, lowercase i is converted to İ (with dot) instead of I (without dot) as expected.
This may cause certain String matching functions critical to control flow for OpenAthena to fail (e.g. drone make/model matching).
To avoid undefined behavior when OpenAthena Android is run on mobile devices internationally, all toUpperCase() and toLowerCase() calls should be performed with Local.ENGLISH instead of the default. Android already does this for their equivalent toUpperCase() function in Kotlin.
Certain locales (such as Türkiye) perform toUpperCase() and toLowerCase() in a way that is non-intuitive and inconsistent with English speaking locales. For example, lowercase
i
is converted toİ
(with dot) instead ofI
(without dot) as expected.This may cause certain String matching functions critical to control flow for OpenAthena to fail (e.g. drone make/model matching).
To avoid undefined behavior when OpenAthena Android is run on mobile devices internationally, all toUpperCase() and toLowerCase() calls should be performed with Local.ENGLISH instead of the default. Android already does this for their equivalent toUpperCase() function in Kotlin.
More info:
https://stackoverflow.com/questions/10336730/which-locale-should-i-specify-when-i-call-stringtolowercase
The text was updated successfully, but these errors were encountered: