V4RB, Jon, project

jda jda at his.com
Wed Sep 15 12:06:54 CDT 2004


>
>sorry, I still not catch
>
>say I define some field as UTF8 10 chars maxlenght
>I store some 10 chars string with no double bytes chars ("abcdefghij")
>the Vale kernel converts all in UTF16
>
>result: I loose half my data
>
>I got it well?
>

No -- at least that's not how I understand it.

Valentina will *store* them as 10 characters on the disk, because the 
StorageEncoding = UTF8, so you lose nothing.

But when it needs to access the data for some manipulation in memory 
(search, sort, etc.) it will convert the data to UTF-16 (20 bytes) 
first -- this is transparent to you.

Jon


More information about the Valentina-beta mailing list