INFO: the best size of VarChar in 2.0

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Mar 4 22:29:11 CST 2005


On 3/4/05 9:40 PM, "Claudius Sailer" <Claudius at sailer-online.de> wrote:

>> Hi All,
>> 
>> Please remember this info:
>> 
>> * in Valentina 1.x the best minimal size for VarChar was
>>         504 bytes
>> 
>> 
>> * for Valentina 2.0 this size is 2044 bytes
>> 
>>         BUT !!!!!
>> 
>>   - if you use UTF16 encoding, you should specify
>>         VarChar[ 1022 ]
>> 
>>   - for all rest encodings, which are single byte,
>>     you can specify
>>         VarChar[ 2044 ]
> 
> What do I have to do to convert from 504 to 1022?

Actually 504 bytes is no bad. And you can continue to use it.
Although for UTF16 this means 256 chars.

Length of field can be changed

    Vstring.maxLength = xxx


> IMHO UTF16 is the standard so when I didn't make any setup UTF16 should
> be used correct?

Yes.

Even more, current betas work only with UTF16


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina-beta mailing list