Compiler Directives of the Strange Nobody SVN943 D12UP
Posted: 03.10.2011, 22:25
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...
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...
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. This Solution was deep enough to solve the Problems i think.
Everything else where improvements.
I added it but with Compiler-Directives and some String-changes.. and it works fine! great work kelvinyip !
[s]Did some Changes on the Interfaces and killed then ZVariant.vtUnicodeString with Directives and linked everything to the String Getter&Setter.
[/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?
[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...
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...
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. This Solution was deep enough to solve the Problems i think.
Everything else where improvements.
I added it but with Compiler-Directives and some String-changes.. and it works fine! great work kelvinyip !
[s]Did some Changes on the Interfaces and killed then ZVariant.vtUnicodeString with Directives and linked everything to the String Getter&Setter.
[/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?