V4RB2 // storing encoding

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Oct 22 22:01:17 CDT 2004


On 10/22/04 8:16 PM, "erne" <ernestogiannotta at tiscalinet.it> wrote:

> Well, I can live with this behaviour
> but I still don't get sense of it
> 
> what's the point in defining a storing encoding
> if I don't I/O data in that format by default?

Hmm.

Storage Enoding -- you say HOW you want keep strings on disk
    Japan guys will prefer UTF16
    roman language group will prefer UTF8
    Russian will prefer Cyrillic Mac or Win.


But this is not related in any case to IO encoding,
You can give to V4RB string in UTF8 or UTF16 and Valentina do next

    INSIDE of KERNEL it will convert it to UTF16.

    ALWAYS. 
    ALWAYS
    ALWAYS.

Because inside of kernel all Valentina algorithms use UTF16.

When Valentina ed tore something to disk it convert from UTF16 to
StorageEncoding. When it read from disk then back to UTF16.


You see?


    REALBasic  <------->   engine  <--------> disk
                   IO               Storage



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