views:

128

answers:

4

Just trying to understand that - I have never used it before. How is a culture different to ToUpper() / ToLower()??

+4  A: 

Different cultures have different rules for converting between uppercase and lowercase characters.

They also have different rules for comparing and sorting strings, and for converting numbers and dates to strings.

SLaks
+1  A: 

Jon Skeet has a pretty good discussion of this here near the bottom of the page.

itsmatt
+2  A: 

As SLaks says, different cultures handle casing differently.

A specific example from MSDN:

In most Latin alphabets, the character i (Unicode 0069) is the lowercase version of the character I (Unicode 0049). However, the Turkish alphabet has two versions of the character I: one with a dot and one without a dot. In Turkish, the character I (Unicode 0049) is considered the uppercase version of a different character ı (Unicode 0131).

Rob Elliott
+1  A: 

The Turkish I is the most common example of cultural differences in case mappings, but there are many others.

I recommend checking out the Unicode Consortium's information on this.

http://www.unicode.org/faq/casemap_charprop.html

Jeffrey L Whitledge