c# - 什么是字符串文化

标签 c# internationalization culture

只是想了解一下 - 我以前从未使用过它。一种文化与 ToUpper()/ToLower() 有何不同?

最佳答案

正如 SLaks 所说,不同的文化对大小写的处理方式不同。

来自 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).

关于c# - 什么是字符串文化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2508577/

相关文章:

c# - 在 C# 的未知语言环境中解析 double

C# 文化 : Localize DayOfWeek?

c# - 文化 缩写的月份名称有时以句点结尾

php - Symfony2 access_control 与 i18n 路由

ssas - 是什么决定了 SSAS 表格解决方案中模型的语言?

c# - ASP.NET Core DbContext 注入(inject)

c# - Web API 只允许单个异步任务

c# - 如何触发当前类(class)无法触及的事件?

c# - Verlet Integration 正在炸毁我的物理引擎

javascript - Intl 未定义 firefox