[Zope-DB] DCoracle2 - truncates UTF-8 string with national characters

Maciej Wiśniowski maciej.wisniowski at coig.katowice.pl
Tue May 24 03:56:46 EDT 2005


> Are you sure that this is a DCOracle2 problem and not a database problem?
> UTF-8 may need 5 times more bytes then the character length.
> Both DCOracle2 and Oracle may get this wrong.
Queries from TOAD or sqlplus are returning correct results. 
I've tried to run sqlplus query as user Zope on the same 
machine where my Zope instance is and i've received correct 
results.

> My ugly hack in dco2.c may be relevant.
> http://mail.zope.org/pipermail/zope-db/2004-December/003861.html
I think it may be helpful. We'll try. Thank you.

This is good moment to try SQLRelay too.

-- 
Maciej Wisniowski



More information about the Zope-DB mailing list