summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorhierro <hierro>2006-06-16 20:15:24 +0000
committerhierro <hierro>2006-06-16 20:15:24 +0000
commitc0f6ba9fc81a4604c82b3d62e2471f0b6cedf462 (patch)
tree06fa72edda81ff7cbd4ea0fb91002276c54ac3c9 /CHANGES
parent6382a7266d02db704560ec58e39d6680e46c0931 (diff)
downloadpython-cheetah-c0f6ba9fc81a4604c82b3d62e2471f0b6cedf462.tar.gz
Core changes by MO:
- WebSafe and the other optional filters in Filters.py now use RawOrEncodedUnicode instead of Filter as a base class. This allows them to work with Unicode values containing non-ASCII characters. User-written custom filters should inherit from RawOrEncodedUnicode and call the superclass .filter() instead of str(). str() as of Python 2.4.2 still converts Unicode to string using ASCII codec, which raises UnicodeEncodeError if it contains non-ASCII characters.
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 52a9bef..1b6a2df 100644
--- a/CHANGES
+++ b/CHANGES
@@ -32,6 +32,16 @@ release
Code that makes use of explicit directive close tokens immediately followed by
another directive will still work as expected:
#if test##for i in range(10)# foo $i#end for##end if
+
+ Core changes by MO:
+ - WebSafe and the other optional filters in Filters.py now use
+ RawOrEncodedUnicode instead of Filter as a base class. This allows them
+ to work with Unicode values containing non-ASCII characters.
+ User-written custom filters should inherit from
+ RawOrEncodedUnicode and call the superclass .filter() instead of str().
+ str() as of Python 2.4.2 still converts Unicode to string using
+ ASCII codec, which raises UnicodeEncodeError if it contains non-ASCII
+ characters.
2.0rc6 (Feb 4, 2006)