Changes between Version 55 and Version 56 of DeveloperGuidelines/CodeConventions
- Timestamp:
- 01/26/16 11:56:02 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/CodeConventions
v55 v56 125 125 7) All code is utf-8 encoded, so that all string constants are automatically utf-8 encoded str. We do not use u"..." for string constants. 126 126 127 8) Note that str.lower() and str.upper() do not work correctly for some unicode characters (e.g. "Ẽ".lower gives "Ẽ" again - instead of "ẽ"). For correct behavior, we must convert into unicode first, using s3_unicode.127 8) Note that str.lower() and str.upper() do not work correctly for some unicode characters (e.g. "Ẽ".lower() gives "Ẽ" again - instead of "ẽ"). For correct behavior, we must convert into unicode first, using s3_unicode. 128 128 === Tools === 129 129