Zeos 7.1.0 problem with hungarian characters

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: Zeos 7.1.0 problem with hungarian characters

Post by EgonHugeist »

@Jan

danke! Yep it helps me a lot. Like i wrote: I'm not interest what other components are doing here. IIRC than the old code was right and the newly fix ist wrong. His data simply is maleformed so FB can't convert correctly to utf8 and Zeos had problems to convert the Data to Unicode.

Ibalu,

I'll revert the patch again on 7.2. It's simply wrong. BUT, yesterday i commited a patch to 7.2 which is able to improve this issues:

TZConnection.Properties.Values['ResetCodePage'] := 'WIN1250' in your case. Keep track your originally set the 'DOS852' codepage to the TZConnection.ClientCodePage.
Actually this patch works for firebird only. But i plan to open it for all plains.

My reasons:
I know about some people which wrongly wrote UTF8 encoded strings into a MySQL-Latin1 DB with the 7.0-alfa components f.e..
Also are there a loads of people which wrote Ansi-encoded strings into SQLite-DB's with the Old Zeos6 components (SQLite doesn't check the encoding). If i'm ready than all this maleformed data can be reused like a charme. :chef:
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply