It looks like you need to use the method
String.ToUpper(CultureInfo)
:
string myString = someString.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
This way, you can be sure that even if some culture-specific form of digits is used, they won't be involved.
—SA