How can i detect that ToUpper() function is possible on this string ? By example when the language of input don't have a upper case. I have this :
String text = "لان يقوم غينيا انتصا";
Console.WriteLine(text.ToUpper(CultureInfo.CurrentUICulture));
and the output is : "???? ????? ????"
I tried this Console.WriteLine(text.ToUpper(new CultureInfo("ar")));
but the result is the same as previously.