krakjoe / ustring

UnicodeString for PHP7
Other
64 stars 7 forks source link

No locale options for toUpper/toLower #26

Open hikari-no-yume opened 8 years ago

hikari-no-yume commented 8 years ago

ICU supports this in UnicodeString, but our API doesn't. We need to allow specifying the locale, because toUpper and toLower will behave differently for different locales, e.g. in Turkish, I becomes ı in lower case, not i.