Inserting UTF-16 values in V4RB2

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jul 10 11:36:12 CDT 2006


On 7/10/06 11:35 AM, "Dave Addey" <listmail1 at dsl.pipex.com> wrote:

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

For now you need use UTF8..


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