Database corrupt, bug in VarCharField with utf8?
Ruslan Zasukhin
sunshine at public.kherson.ua
Sun Jun 7 16:00:30 CDT 2009
On 6/7/09 12:27 PM, "Thomas Flemming" <tf at ttqv.com> wrote:
Hi Thomas,
> I found the problem.
>
> The problem was always in one specific text-field.
>
> Its a VarCharField and I'm using the database with UTF-8.
> This somehow doesn't work together.
UTF8 database -- do not use this!
It is pointed in all ReadMe I believe.
> In .Net Strings are always UTF16, so when I fill a VarCharField with:
> .Field("name").SetString(name)
> it results in this problems.
>
> When I change to StorageEncoding = "UTF-16", it works with VarCharField.
>
> Or I leave the database in StorageEncoding = "UTF-8", which I prefer, because
> it saves lots of diskspace, then I can't use the VarCharField.
> With a StringField it also works in 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