Unicode and length of field

Ruslan Zasukhin sunshine at public.kherson.ua
Mon May 12 20:43:44 CDT 2003


on 5/12/03 7:52 PM, john roberts at jarobe01 at athena.louisville.edu wrote:

>> -- for UTF16, all chars take 2 bytes always.
>> So for such field, if we say String[30],
>> Valentina is able allocate (30 + 1) * 2 = 62 bytes
>> but then N again start means characters...
> 
> I seem to remember Joe S. mentioning something about UTF16 using 2-bytes per
> character "always except ..." and I don't recall the "..." part.

May be except you use USC-4.

I think USC-4 (4 bytes per  character) is not interested for us for nearest
years

-- 
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 mailing list