Unicode, Set up for MC 2.4.3 on Mac OS9.1?

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Apr 7 13:53:26 CDT 2003


on 4/7/03 12:33 PM, erne at ernestogiannotta at tiscalinet.it wrote:

>> But I wonder, what you say about this way:
>> 
>> -- We simply add 2 more languages for String and Text fields.
>>         "UTF-8" and "UTF-16"
>> 
>> -- at least for 1.x version.
>> 
>> -- for UTF16, if you say VarChar[504] then
>>         GetMaxStringLength() will return 257 chars.
>> 
> 
> what GetMaxStringLength() will return for UTF8?

:-) good question.

Well, I think it is correct to return 504,
Because this is MAXIMUM possible number.
But we can have less chars also.

>> Seems as logical and all under control.
> 
> yep! UTF16 seems the best pick for fixed length database fields
> it may take double space on most cases but at least
> you always know what to expect

-- 
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://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list