How string are stored

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Aug 7 18:21:52 CDT 2003


on 8/7/03 18:14, Francois Van Lerberghe at fvanlerberghe at freegates.be wrote:

>>> My goal is to have a crossplateform database (Mac 9, Mac X and Windows)
>>> 
>>> I have noticed that, when storing a string with characters > 127 on
>>> MacOS, I retrieve it without any problem on Windows and vice-versa.
>>> So, I guess that data is stored in only one encoding and that there is a
>>> conversion (I think that the encoding is Mac and that the conversion is
>>> done on Windows)
>> 
>> No, strings are stored in the platform specific format.
>> 
>> When Valentina is run on windows and it see that db files from MAC, then on
>> the fly it do conversion.
> 
> Where are stored this information ? in the .vdb file ?

In fact each data file has flag in the first byte.


> Have you made some change between 1.8.10 and 1.9.8 ?

Wow, 1.8.10. Old enough.

> Because for my X-platform needs, I use a native .vdb file (created on Mac in
> the MacOs, created on Win in the Windows OS) and transfer (copy) only the
> .dat file across the platform.

> With 1.8.10, this worked like a charm. With the 1.9.8 this seems to be
> broken (I've not enough time now to test more).

Then we need more tests.

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