How string are stored

Joerg Pressel joergp at three-2-one.com
Mon Aug 4 15:57:09 CDT 2003


>> Any ETA for a first beta that supports UTF8 (even without correct/ 
>> language sensitive sorting)? I would like to continue developing my 
>> app, but this would be a major step in simplifying my code. My app 
>> already stores all strings as UTF8, but when retrieving data from 
>> Valentina, I have to tag every string as UTF8 with >> "DefineEncoding"...
>>
>
> You'll still have to do that, I believe. When you store the string in 
> Valentina only the text is stored, not any tags or other info used by 
> RB "strings". That means the encoding byte(s) will be lost and you'll 
> have to define the string as utf8 when you load it back in.

I don't agree to that point – Valentina should be smart enough to 
return text strings with the proper text encoding. At least I hope this 
is possible.
Right now the developer has to take care of the encoding information, 
but with special UTF8 field types Valentina should automagically return 
UTF8 encoded strings.

Ruslan, have you decided on how to implement UTF8 support, yet? 
Wouldn't it be a nice option to have a global Valentina flag "all text 
is UTF8" instead of introducing new field types VUTF8VarChar etc. ?

And I certrainly agree with Erik and the others: it's about time to 
have Unicode support  in Valentina ;-)) please. Hmm, this week? ;-)

Cheers,
--
Jörg

____________________________________________
three-2-one interaktive Medien GmbH

joergp at three-2-one.com
http://www.three-2-one.com
fon: +49 2151 31945-11




More information about the Valentina mailing list