Compiler Directives of the Strange Nobody SVN943 D12UP

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Compiler Directives of the Strange Nobody SVN943 D12UP

Post by EgonHugeist »

I'm working on a Component-Project based on Zeos. I had the same Problems with Unicode ( Latin-Chinese Letters ) like others in the Forum.

[s]Also i felt sick by using TField.AsString: AnsiString and TField.AsUnicodeString: WideString in Delphi12UP. There it's deprecated i think or am i wrong?[/s] Left for Later-Versions to Store UTF-Letters from Outer-Space.

All other Components manage this to TField.AsStirng: String. So i chosse [s]to terminate this TField.Accessors and combinate them to one[/s]. to change TField.AsString: AnsiString to TField.AsString: String; I didn't delete any code, just Added many, many, many Compiler-Direcktives and started to implement the D12UP-Types into last SVN943 from SourceForge.Net.

Weekly i was looking in this Forum and, i was hopeful the Strange Nobody adds the Directives, but... :zzz:

Concerning http://zeos.firmos.at/viewtopic.php?t=3124 with latin1 Letters.
or http://zeos.firmos.at/viewtopic.php?t=3297
or http://zeos.firmos.at/viewtopic.php?t=3124
or http://zeos.firmos.at/viewtopic.php?t=3184
or http://zeos.firmos.at/viewtopic.php?p=12834
etc... :shock:

I created a MySQL Databese with the default codepage = UTF8.

In my Project i do not use any Charset or Collation sets in ZConnection.Properties. :!:

Now i added some Rows with Chinese "我是", Russian "кщиуке" and Latin letters like the %noël% or Cotação and started some Select-Queries by using =,like,etc Operraters.

In SVN 943 many Patches where done but i missed the way of
kelvinyip http://zeos.firmos.at/viewtopic.php?p=12834
to solve the Unicode Problems. :shock: This Solution was deep enough to solve the Problems i think. :roll:
Everything else where improvements.

I added it but with Compiler-Directives and some String-changes.. and it works fine! great work kelvinyip ! :up:
[s]Did some Changes on the Interfaces and killed then ZVariant.vtUnicodeString with Directives and linked everything to the String Getter&Setter. :prog:
[/s]

Download:
[s]https://rapidshare.com/files/3273860521 ... hanges.rar[/s]

Patches visible for Members...

http://zeos.firmos.at/viewtopic.php?t=2 ... c&start=43
http://zeos.firmos.at/viewtopic.php?t=3315

What do you think ZeosLIB Dev-Team?
Last edited by EgonHugeist on 13.11.2011, 17:11, edited 9 times in total.
kelvinyip
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 18.03.2011, 14:28

Post by kelvinyip »

Hi EgonHugeist,

Just find your reply, haven't check this forum for a while.
It's great to see someone notice my sharing, although my code is dirty.
I also hope ZeosLib Dev Team can notice the UTF8 problem and check to see if the fix can help.
Anyway, thanks for your reply.
Locked