Database corrupt, bug in VarCharField with utf8?

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jun 8 14:23:10 CDT 2009


On 6/8/09 10:15 PM, "Steve Albin" <steve at steve-albin.com> wrote:

>> But sometimes developers who know unicode
>> Try to use UTF8, because for English and Roman languages
>> It is one byte per char.
> 
> Does Valentina automatically convert to UTF16 from UTF8 when adding data to a
> table.  REALbasic defaults to UTF8.  Should I be converting strings to UTF16
> before adding and updating records?  Or is this done automatically?

V4RB plugin --- as all other Valentina plugins -- know default encoding of
its IDE.

So V4RB knows that RB get/set strings in UTF8
And do conversion self in background

 
> I'm not doing anything now and things apparently work, but maybe I'm lucky.

You can be lazy here :)

 
> OT - Is it me, or does anyone else notice that in this list and the RB list,
> the questions of handling encodings seems to be the most misunderstood
> programming issue.

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