Does Python 2.5.2 follow Unicode for lower() and upper()?

本小妞迷上赌 提交于 2019-12-02 03:44:31

问题


I'm making a Google AppEngine Application. Does the Python 2.5.2 runtime environment follow the Unicode Standards? (For example, the lower() and upper() methods on unicode objects.)


回答1:


Yes and no.

For an example, see the code being discussed here: How can I convert Unicode to uppercase to print it?

Check here for a formal, well-written document:

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



来源:https://stackoverflow.com/questions/3536397/does-python-2-5-2-follow-unicode-for-lower-and-upper

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!