Umlauts and Revolution

Ruslan Zasukhin sunshine at public.kherson.ua
Tue May 26 03:39:03 CDT 2009


On 5/26/09 10:34 AM, "Peter Malecki" <pemalecki at googlemail.com> wrote:

Hi Peter,

> Hello Ruslan,
> 
> ----------------------
> NOTE: db files must be in UTF16 only!
>    please do not try set db to be UTF8.
> ---------------------
> db.IOEncoding()
> ----------------------
> My first actions :-). In the list archive I only found a thread about
> input / output problems. Here both are working well by itself for
> Valentina Studio and Revolution (UTF-16), apparently there is an issue
> of data exchange. It seems I have to convert date before sending it
> from Revolution, but how and what special scheme do I need?

You should not convert self...

For example, if you store German single bytes,
Should be 

    db.Create()         << db files will be UTF16 self


Later

    db.IOEncoding("German")


    PutString("Some German string")
        ^^^^^^^ Valentina Self will convert
        FROM "German" to UTF16


    str = GetString()
        Valentina self converts from UTF16 to
            IO Encoding, i.e. German.
        



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list