Posted: 22.11.2010, 13:52
I'm on it ![Smile :)](./images/smilies/icon_smile.gif)
ab, your framework seems impressive!
And look's like you are doing/did the same thing we're discussing here.
Something to discuss:
- Internal encoding should be UTF-8 or UCS-2 (UTF-16 LE, Delphi and Windows default) ?
UTF-8 can bring us almost ANSI speed (when using basic chars) while enabling unicode when necessary, and probably will have the lowest conversion rate when sending/getting to/from databases. (Most DBs uses UTF-8 internally because of space usage).
The conversion to UCS-2 on Unicode enabled environments will be needed when sending/getting to/from component layer (did in memory and only once for read-only operations, probably faster). It will require the use of a external library, like this from ab, which seems very good (FPC support is a plus). After some tests, way to go, in my opinion.
I'll go deep under code after writing more here, as I'm a bit "off news".
tygrys , let's keep in touch here for now? I don't use skype yet, but I can install, no prob. If we can talk, I can even improve my poor english! Meanwhile, didn't received your PM yet.
![Smile :)](./images/smilies/icon_smile.gif)
ab, your framework seems impressive!
And look's like you are doing/did the same thing we're discussing here.
Something to discuss:
- Internal encoding should be UTF-8 or UCS-2 (UTF-16 LE, Delphi and Windows default) ?
UTF-8 can bring us almost ANSI speed (when using basic chars) while enabling unicode when necessary, and probably will have the lowest conversion rate when sending/getting to/from databases. (Most DBs uses UTF-8 internally because of space usage).
The conversion to UCS-2 on Unicode enabled environments will be needed when sending/getting to/from component layer (did in memory and only once for read-only operations, probably faster). It will require the use of a external library, like this from ab, which seems very good (FPC support is a plus). After some tests, way to go, in my opinion.
I'll go deep under code after writing more here, as I'm a bit "off news".
tygrys , let's keep in touch here for now? I don't use skype yet, but I can install, no prob. If we can talk, I can even improve my poor english! Meanwhile, didn't received your PM yet.