How string are stored

Francois Van Lerberghe fvanlerberghe at freegates.be
Thu Aug 7 17:14:30 CDT 2003


le 2-08-03 13:14, Ruslan Zasukhin <sunshine at public.kherson.ua> a écrit :

> on 8/2/03 11:46, Vincent Mercey at vmercey at free.fr wrote:
> 
> Hi Vincent,
> 
>> 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 ?
Have you made some change between 1.8.10 and 1.9.8 ?
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).

François Van Lerberghe
Thier Monty, 15A
B-4570 Marchin
Belgique



More information about the Valentina mailing list