From: Oleg B. <ph...@ph...> - 2008-01-07 15:38:09
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |