Bugs item #1808155, was opened at 2007-10-05 15:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1808155&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: SQLObject release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Peter Russell (psr)
Assigned to: Nobody/Anonymous (nobody)
Summary: UnicodeCol doesn't support startswith etc.
Initial Comment:
I'm experiencing this problem with SQLObject 0.7.7, although by the looks of things it still exists in trunk.
The summary is not very precise, the text field is too short. What I really want to say is:
"sqlbuilder.UnicodeField encodes values in __eq__ and __ne__, but not in startswith, endswith and contains"
I believe that the solution is to simply override those methods in UnicodeField, and encode the value passed"
I am attaching a file that causes a UnicodeDecodeError.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1808155&group_id=74338
|