【问题标题】:Does Python 2.5.2 follow Unicode for lower() and upper()?Python 2.5.2 对于 lower() 和 upper() 是否遵循 Unicode?
【发布时间】:2010-08-21 05:01:45
【问题描述】:

我正在制作一个 Google AppEngine 应用程序。 Python 2.5.2 运行时环境是否遵循 Unicode 标准? (例如,unicode 对象的 lower() 和 upper() 方法。)

【问题讨论】:

    标签: python unicode case-sensitive


    【解决方案1】:

    是和不是。

    例如,请参阅此处讨论的代码:How can I convert Unicode to uppercase to print it?

    在这里查看一份正式的、写得很好的文档:

    http://www.cmlenz.net/archives/2008/07/the-truth-about-unicode-in-python

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-02-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多