fix: avoid using system default locale by asolntsev · Pull Request #2352 · appium/java-client
For example, if the system default locale is Turkish ("tr_TR"), then
`ClipboardContentType.PLAINTEXT` argument gets converted to "plaıntext", not "plaintext".
1. Replace `toLowerCase()` -> `toLowerCase(ROOT)`
2. Replace `toUpperCase()` -> `toUpperCase(ROOT)`
"ROOT" is a specific locale that at least works well for latin letters (that are used in content types, enum names etc.)
asolntsev
deleted the
fix/avoid-using-system-locale
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters