> -----Original Message-----
> From: Henrik Tougaard [mailto:[EMAIL PROTECTED]
> Sent: 07 February 2007 10:58
> To: Viktor Hübner
> Cc: [email protected]
> Subject: Re: DBD.Ingres 0.51 unicode support
> 
> Viktor Hübner wrote:
> > sorry if this is the wrong address for my question, but I have not
> > find related information on other way. I have a problem with
> > DBD.Ingres 0.51 on SuSE Linux 9.0 with DB Ingres II 3.0.3 (int. lnx.
> > 103). Are the unicode types (nvarchar/nchar) not supported in this
> > version?
> > An error message is shown "filed <Number> has unsupported
> > type 27" if access a table with nvarchar. Have you any idea what can
> > be this problem solved?
> 
> Hi.
> 
> This is the corect place for this kind of question.
> 
> Unfortunately you are quite right - the current release of DBD::Ingres
> does not support wide (unicode) character sets.
> 
> As far as I can recall it should not be too difficult to add, but I
> haven't got round to it yet.
> And as I no longer use Ingres actively (I have switched jobs over a year
> ago and now have to suffer under MySQL) the chances that I will add it
> in the near furture are very slim.
> 
> You are more than welcome to patch it yourself. I will be happy to
> release a new version or add you as a co-maintainer of DBD::Ingres.
> 
> Best of luck and sorry I cannot be more helpful

Hi Henrik,

I have managed to get Unicode fetches to work with Ingres. See 
http://ingres.co.uk/files/perl/unicode/dbd-ingres-unicode-fetch.patch for the 
patch (generated using diff -u).

It has been tested on Windows XP as well as a 64 bit Linux system. If you feel 
it should be tested on another platform let me know.

My test case (http://ingres.co.uk/files/perl/unicode/unicode-ingres.txt) uses 
the demodb database that is shipping with Ingres 2006 R2. Should you or anyone 
want to get a copy of this data and the schema please email me.

Regards

grant

Reply via email to