V4RB, Jon, project /// More explanation.

erne ernestogiannotta at tiscalinet.it
Wed Sep 15 20:01:33 CDT 2004


on 15-09-2004 19:51, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:

>>> So if you will think in bytes then everything is clear.
>>> 
>> 
>> not at all!!
>> 
>> you just stated that Vale will convert those 1 byte chars to 2 bytes UTF16
>> internally and thus consume all 50 bytes for 25 chars only
> 
> Erne,
> 
> Let me underline.
> 
> In the RAM Valentina allocate buffers always 2 bytes per char.
> 
> But when it write info to disk it CONVERT to encoding which you have
> specify.
> 
> When you say String(50) -- you talk here about 50 bytes on disk.
> 
> 

OK, now it's clear... Thanks!


Cool Runnings,
Erne.

-- 
| e r |  Ernesto Giannotta
| n e |  Musical Box - a media store
                   




More information about the Valentina-beta mailing list