V4RB: Encoding VString - VText

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Feb 2 19:34:34 CST 2004


on 2/2/04 6:26 PM, Karl Grob at kgrob at mus.ch wrote:

> Supplement:
> Am 02.02.2004 um 15:54 schrieb Ruslan Zasukhin:
> 
>> on 2/2/04 12:53 PM, Karl Grob at kgrob at mus.ch wrote:
>>> The following procedure produces a correct string (example is ä) in
>>> the
>>> MsgBox on the Mac:
>>> ä - 138
>>> On Windows the MsgBox shows:
>>> ž - 137
>>> with exactly the same code, if the VField is of the class VText. The
>>> Problem is there with or without DefineEncoding.
>>> If I pass the returned string in Windows to a EditField, the Text does
>>> not show. Mac is correct.
>>> 
>>> The class VString works correctly.
>> VarChar ?
>> 
> VarChar works like VString. (It still remains, that  the EditField
> doesn't show the Text)

Wait a moment,

So you have in code ALWAYS translation from MacRoman to system default?

I think this explain problem.
Deal is that when you move MAC database to Windows,
Valentina self convert from MacRoman to Roman windows encoding


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