Full Unicode/Ansi-Support in /testing branch
Moderators: gto, EgonHugeist, olehs
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
miab3,
i think i got it. The namespaces had been wrong. Also did i change the sequence of precedence to check the functionallity (I don't use Debian..). Now the libiconv stuff is the next. FB3 did another member start, Michal.
Patch done R1951
i think i got it. The namespaces had been wrong. Also did i change the sequence of precedence to check the functionallity (I don't use Debian..). Now the libiconv stuff is the next. FB3 did another member start, Michal.
Patch done R1951
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/
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/
EgonHugeist,
Now (R1951)
Michal
Now (R1951)
Code: Select all
/usr/lib/codetyphon/lazarus/components/pl_ZeosDBO/source/core/ZCompatibility.pas(498,21) Error: Illegal expression
/usr/lib/codetyphon/lazarus/components/pl_ZeosDBO/source/core/ZCompatibility.pas(551,39) Error: Identifier not found "StringToAnsiEx"
/usr/lib/codetyphon/lazarus/components/pl_ZeosDBO/source/core/ZCompatibility.pas(824) Fatal: There were 2 errors compiling module, stopping
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
miab3,
hmpf. Slightly i need a *nix system for that... R1953
hmpf. Slightly i need a *nix system for that... R1953
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/
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/
EgonHugeist,
Zeos7.0.1-beta branches_ testing_R1954:
http://svn.code.sf.net/p/zeoslib/code-0 ... s/testing/
compiles and runs on (I have tested):
- D2006,
- D2007 -> C++,
- DXE2 32/64 -> C++(32),
- Lazarus Win 1.1/fpc 2.7.1 32/64,
- Lazarus Lin 1.1/fpc 2.7.1 64 on Debian 64-bit (LMDE 201204).
(Firebird 2.5.3, MySQL 5.5.18, MariaDB 5.5.28, Oracle 11g EE, PostgreSQL 9.2.1, MSSQL 2008 R2 Express)
Michal
Zeos7.0.1-beta branches_ testing_R1954:
http://svn.code.sf.net/p/zeoslib/code-0 ... s/testing/
compiles and runs on (I have tested):
- D2006,
- D2007 -> C++,
- DXE2 32/64 -> C++(32),
- Lazarus Win 1.1/fpc 2.7.1 32/64,
- Lazarus Lin 1.1/fpc 2.7.1 64 on Debian 64-bit (LMDE 201204).
(Firebird 2.5.3, MySQL 5.5.18, MariaDB 5.5.28, Oracle 11g EE, PostgreSQL 9.2.1, MSSQL 2008 R2 Express)
Michal
Can't compile on Lazarus 1.1, FPC 2.6.1
.../zeos7_test/src/core/ZCompatibility.pas(421,39) Error: Identifier not found "AnsiToStringEx"
XUbuntu 32, lazarus 1.1 svn, FPC 2.6.1 svn, Zeos 7 test svn from now ...
XUbuntu 32, lazarus 1.1 svn, FPC 2.6.1 svn, Zeos 7 test svn from now ...
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
patyit,
hope it is solved. Patch done R1961. Confirmed or again issues?
hope it is solved. Patch done R1961. Confirmed or again issues?
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/
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/
EgonHugeist,
Zeos7.0.1-beta branches_ testing_R1961:
http://svn.code.sf.net/p/zeoslib/code-0 ... s/testing/
compiles and runs on (I have tested):
- D2006,
- D2007 -> C++,
- DXE2 32/64 -> C++(32),
- Lazarus Win 1.1/fpc 2.7.1 32/64,
- Lazarus Lin 1.1/fpc 2.7.1 64 on Debian 64-bit (LMDE 201204).
(Firebird 2.5.3, MySQL 5.5.18, MariaDB 5.5.28, Oracle 11g EE, PostgreSQL 9.2.1, MSSQL 2008 R2 Express)
But there is something wrong in Lazarus.
For example in Firebird in field VARCHAR(10) holds up to 5 national characters.
Michal
Zeos7.0.1-beta branches_ testing_R1961:
http://svn.code.sf.net/p/zeoslib/code-0 ... s/testing/
compiles and runs on (I have tested):
- D2006,
- D2007 -> C++,
- DXE2 32/64 -> C++(32),
- Lazarus Win 1.1/fpc 2.7.1 32/64,
- Lazarus Lin 1.1/fpc 2.7.1 64 on Debian 64-bit (LMDE 201204).
(Firebird 2.5.3, MySQL 5.5.18, MariaDB 5.5.28, Oracle 11g EE, PostgreSQL 9.2.1, MSSQL 2008 R2 Express)
But there is something wrong in Lazarus.
For example in Firebird in field VARCHAR(10) holds up to 5 national characters.
Michal
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
miab3,
Furthermore i've the impressing that we've got trouble like i suggest before: http://zeos.firmos.at/viewtopic.php?t=3611
TField.Size is NOT Count of Chars nope it's count of Bytes. Which means each national two byte chare doesn't fit into to FieldBuffer. I'm wondering why Delphi seems to have a different behavior here.
Next question does it really only happen for FB? I dont't think so. If we've a common behavior than the fix is quickly done with a little {$IFDEF FPC} around... If not than this might have another reasonn
So i'm waiting for reply...
That's something i was waiting for. I'm not surpriced about this. Question which characterset did you use on creating your DataBase? I don't think you used Charset 'NONE'.But there is something wrong in Lazarus.
For example in Firebird in field VARCHAR(10) holds up to 5 national characters.
Furthermore i've the impressing that we've got trouble like i suggest before: http://zeos.firmos.at/viewtopic.php?t=3611
TField.Size is NOT Count of Chars nope it's count of Bytes. Which means each national two byte chare doesn't fit into to FieldBuffer. I'm wondering why Delphi seems to have a different behavior here.
Next question does it really only happen for FB? I dont't think so. If we've a common behavior than the fix is quickly done with a little {$IFDEF FPC} around... If not than this might have another reasonn
So i'm waiting for reply...
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/
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/
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
patyit,
i hope i got it ))): R1966.
miab3,
Nope i don't think so. The issue is further more you choose 'UTF8' or zeos does it automatically as charset. Now zeos assumes 3(FB-standart) byte per char. Zeos does arrange the DisplayWidth by himselves. Which means varchar(10)+Charset'None' means 10bytes but zeos assumes (10 div 3 bytes + 10Chars mod 3) + 1Null byte = 5.
Hmm seems like i've to add a determination for Charset 'None' generally because i know about that issue: http://www.lazarus.freepascal.org/index ... 542.0.html
[s]The solution would be to use TZConnection.ClientCodePage = 'NONE'. Anyway that's not a nice way. I'll patch it tomorrow.[/s]
Edit: R1967. Does that solve your FB issue?
UHHHH i've started last year in february with Rev 967!! Which doesn't mean all patches are done by my selves. (:
i hope i got it ))): R1966.
miab3,
Nope i don't think so. The issue is further more you choose 'UTF8' or zeos does it automatically as charset. Now zeos assumes 3(FB-standart) byte per char. Zeos does arrange the DisplayWidth by himselves. Which means varchar(10)+Charset'None' means 10bytes but zeos assumes (10 div 3 bytes + 10Chars mod 3) + 1Null byte = 5.
Hmm seems like i've to add a determination for Charset 'None' generally because i know about that issue: http://www.lazarus.freepascal.org/index ... 542.0.html
[s]The solution would be to use TZConnection.ClientCodePage = 'NONE'. Anyway that's not a nice way. I'll patch it tomorrow.[/s]
Edit: R1967. Does that solve your FB issue?
UHHHH i've started last year in february with Rev 967!! Which doesn't mean all patches are done by my selves. (:
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/
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/
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
miab3,
Lazarus does not automatically post if i recompile.... I'm sorry.
Rev1970
Lazarus does not automatically post if i recompile.... I'm sorry.
Rev1970
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/
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/