How to encode Valentina for german umlaute Win-Mac?

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Oct 11 11:51:50 CDT 2008


On 10/11/08 5:48 PM, "Tiemo Hollmann TB" <toolbook at kestner.de> wrote:

Hi Tiemo,

> after finally solved my RunRev-Valentina deployment on Mac, I am stuck in
> the next "standard" issue. I have created the db on Win, here everything
> works fine with german umlaute. After transferring to the Mac the umlaute
> are destroyed, when getting them to an output in RunRev. When working with
> SQLite (sorry for that :-)) I just converted the String, getting from the db
> on Mac with a rev function isotomac( ) before the output into a field. That
> doesn't works any more with Valentina.

right

> Probably I have to use any Valentina
> function or set something like VDataBase_StorageEncoding( dbRef,
> [inStrValue] ) or something like that.

> But I don't know what to set and how
> to set. Is it something with UTF-xxx? (I am not used to UTF coding issues).
> Probably this time an easy one!

Valentina db on disk always is in UTF16 for now

So your 

    REV WIN APP (Win ISO)   ->  UTF16 db

Valentina have built-in UTF engine, so it self can convert from any encoding
to any.

Please try to use VDatabase_IOEncoding property.
  
Using it you inform engine in which encoding you want SET/GET strings


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