Dear Oleg,

     thank you

Thursday, March 30, 2006, 7:19:36 PM, you wrote:

OB> On Thu, Mar 30, 2006 at 06:33:05PM +0200, Ivan Horvath wrote:
>>   but when i try Workpackage.byCode(XXXXX) it fails
>>   XXXX is a unicode string

OB>    .select()/.selectBy()/.by*() accepts only strings. Encode XXX to DB
OB> encoding:

OB>    .byCode(XXX.encode('UTF-8'))

OB> Oleg.



-- 
Best regards,
 Ivan Horvath
 Chief Programmer

 Alcatel ISD
 PMS 2000 Product Team

 H-1116, Budapest
 Kondorfa u. 10.
 Tel.: +36 1 209 9546
 Fax.: +36 1 209 9599
 Mobil: +36 30 257 0235
 VOIP: +49 511 676 478010
 mailto:[EMAIL PROTECTED]

Anyone who has never made a mistake has never tried anything new.

/Albert Einstein/ 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to