Skip to content

String.ToUpper with Turkish CultureInfo doesn't work on Android #102622

@kpetryla

Description

@kpetryla

Description

In Turkish, there are two I (dotless: ı, I and dotted: i, İ) Every time on Android after uppercase with CultureInfo an i, I get an I. On iOS everything works correctly.
and
ios

Steps to Reproduce

  1. Create string with "I" in it like in example "indigo"
  2. Use method to upper case with Turkish CultureInfo (str1.ToUpper(new CultureInfo("tr-TR", false))
  3. result is INDIGO instead İNDİGO

Link to public reproduction project repository

https://github.com/kpetryla/String.ToUpper/tree/main/TurkishUpperCase

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 14, Android 13

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions