Re: troubles with unicode

Petr Jakeš <[email protected]>
Newsgroups gmane.comp.python.sqlobject
Message-ID <CAERU-VZ=HnPGXSYZZ3i+Megc0ibuNdPvsX_7oPYa1ShBS80aYg@mail.gmail.com>
After some investigation of the method columnsFromSchema it looks like
Firebird (FB 2.5 SuperServer actualy) returns the information about the
field type in following form:

> u'SHORT
> '
> so it is necessary to add
> t = t.strip()
> in the for loop (tested)
>
> BTW I have found with some luck the FLOAT type is not detected properly.
u'FLOAT' is recognized as <class 'sqlobject.col.Col'>

How to solve this?

Petr

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.