Hello

i want to store unicode data in MaxDB. i have installed the latest version 
7.6.00.16 of MaxDB and DBD::MaxDB and perl5.8.6 and created the following table:

create table test (
id fixed(10) primary key,
name char(20) unicode
)

now, i have a 20 utf-8-characters long string $s and want to insert it with

$q=$db->prepare("insert into test values(1,?");
$q->execute($s);
and get:
DBD::MaxDB::st execute failed: Conversion of parameter/column (1) would 
truncate data

i searched the archive and found that DBD::MaxDB 7.5 does not support unicode. 
Alexey Gaidukov sent a patch (http://lists.mysql.com/maxdb/26322) and Marco 
Paskamp said, he would try to integrate it into the next release. did this 
happen or is there a patch for 7.6.00.16?

regards, Thorsten


-- 

Thorsten Rosenkranz

Imago Informationstechnologie GmbH
Sauerwiesen 6
67661 Kaiserslautern
Tel. 06301-708-0
Fax. 06301-708-222
mailto:[EMAIL PROTECTED]
http://www.imago.de
HRB 3008 Amtsgericht Kaiserslautern
USt-IdNr. DE 174941022
Geschäftsführer: Herr Dipl.-Ing. Christian Keller

-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to