| Issue 20: | Templates created using FromFile with unicode strings are broken | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Files are byte streams by definition, so textual data needs an encoding. FromString should probably either accept unicode() or str()
May 14, 2009
#1
Robert.David.Williams
May 14, 2009
It's worth considering dropping FromFile, but I'll see if I can just make it do something reasonable. This is Python-specific, and Python can handle unicode alright. We would never sniff content, the encoding function param would just be authoritative.
Labels:
Release-Blocking
May 14, 2009
(No comment was entered for this change.)
Labels:
-Release-Blocking ReleaseBlocking
Sep 24, 2009
Fixed by r281
Summary:
Templates created using FromFile with unicode strings are broken
Status: Fixed |