[V4Rb] Encoding glitch

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Dec 30 20:54:03 CST 2005


On 12/30/05 8:00 PM, "Charles Yeomans" <yeomans at desuetude.com> wrote:

> I'm seeing a small problem with text encodings in V4Rb 2.0.5.  I'm
> importing some records into a Valentina database.  The text is
> MacRoman-encoded and contains curly apostrophes; these apostrophes are
> lost when I assign the text to a VField.  In particular, if I execute
> the following code
> 
> c.TextField("description").Value = "Valentina¹s"
> dim foo as String = c.TextField("description").Value
> 
> where the string "Valentina¹s" is MacRoman-encoded, foo is set to
> "Valentinas".
> 
> If I first convert the encoding of "Valentina¹s" to UTF-8, then there
> are no problems.

But all right then, Charles.

You need give to V4RB the UTF8 strings.

It wait for UTF8, if you give something else, why it should work ?

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