Inserting UTF-16 values in V4RB2
Dave Addey
listmail1 at dsl.pipex.com
Mon Jul 10 09:35:08 CDT 2006
Hi all,
I¹ve just found that I can¹t use UTF-16 strings with V4RB 2.3. I did the
following:
inDatabase.Table("TestTable").VarCharField("TestVarChar").Value =
insertString
...where insertString.Encoding is UTF-16. REALbasic can handle this string
fine. When I check the value of VarCharField, it is not set to the string I
used it seems to be blank, or maybe full of non-printable characters.
If I convert the encoding to UTF-8 first, then it works fine.
Is this a known issue? If V4RB can't cope with UTF-16 strings, shouldn't
Valentina convert the text to UTF-8 before storing it? Do I always have to
check that my strings are UTF-8?
Dave.
More information about the Valentina
mailing list