On Mon, Jan 07, 2008 at 10:09:51AM -0500, Glenn MacGregor wrote:
> ?charset=utf8&use_unicode=1

   Do you draw the database scheme from the DB using fromDatabase?

> I am reading data from a file, one piece of data contains a char outside of
> the ascii range (0xc3). I need to insert that into the db, the column type
> is a varchar(64)

   First question to decide is: what is the type of the data? Is it string,
unicode or binary data? For strings, use StringCol, but do not put unicode
to the column - convert it to a string yourself. For unicode use
UnicodeCol, and put unicode to the column. For binary data use BLOBCol or
StringCol; then again, use strings as the data input.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to