Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-06 Thread Petr Fischer via Pharo-users
--- Begin Message --- > On Tue, Feb 05, 2019 at 08:20:22PM +0100, Petr Fischer via Pharo-users wrote: > > But still... I do not expect anyone to create tables through binding > > values (like in your example), so following SQL command is still > > broken: > > db execute: 'create table A (ID

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 08:20:22PM +0100, Petr Fischer via Pharo-users wrote: > But still... I do not expect anyone to create tables through binding > values (like in your example), so following SQL command is still > broken: > db execute: 'create table A (ID INTEGER, T TEXT DEFAULT ''áěšřčá'')'.

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Petr Fischer via Pharo-users
--- Begin Message --- > On Tue, Feb 05, 2019 at 02:51:42PM +, Petr Fischer via Pharo-users wrote: > > When I executing this insert SQL command: > > insert into "TABLE" (..., "VARCHAR_FIELD") values (..., > > 'ěščřžýáíéúůĚŠČŘŽÝÁÍÉÚŮ'); > > this UDBC error occurs (what's wrong?): > > Error:

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 02:51:42PM +, Petr Fischer via Pharo-users wrote: > When I executing this insert SQL command: > insert into "TABLE" (..., "VARCHAR_FIELD") values (..., > 'ěščřžýáíéúůĚŠČŘŽÝÁÍÉÚŮ'); > this UDBC error occurs (what's wrong?): > Error: "Could not coerce arguments" Please

[Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, there is a little mess in SQLite 3 drivers for Pharo, so I am using Pharo 7 and newest UDBC2 sqlite driver from here: http://smalltalkhub.com/#!/~TorstenBergmann/UDBC2 When I executing this insert SQL command: insert into "TABLE" (..., "VARCHAR_FIELD") values