Bugs item #1808155, was opened at 2007-10-05 19:45
Message generated for change (Comment added) made by phd
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: Later
Priority: 5
Private: No
Submitted By: Peter Russell (psr)
>Assigned to: Oleg Broytmann (phd)
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.
----------------------------------------------------------------------
>Comment By: Oleg Broytmann (phd)
Date: 2007-10-08 21:49
Message:
Logged In: YES
user_id=4799
Originator: NO
Got it. Good catch and good suggestion. Will be fixed soon. Thank you!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1808155&group_id=74338
|