V4RB b9 uploaded

jda jda at his.com
Thu Jul 22 15:40:44 CDT 2004


>
>
>On the other hand, function SetString() is declared as
>     excepting String parameter!
>
>I need look on this later.
>
>If you correct this then it works ?
>

No.

I think this is the first Unicode problem...

I have defined a field SN as

   SN = CreateStringField("SN", 30)

I'm storing a 16 digit string here, like:

1234567890123456  -- I converted to UTF8 before storing

When I retrieve it with this code:

SN = prefsDB.prefs.SN.value

I get SN =

  1 2 3 4 5 6 7 8

where the space before each number is a null byte (00) -- obviously UTF-16.

Can you compile my project yet? If not, trash Preferences and try again.


Jon


More information about the Valentina-beta mailing list