main logo
Subject: [V4Rb] Encoding glitch
Author: Charles Yeomans
Posted: 2005/12/30 13:00:45
 
View Entire Thread
New Search


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.


--------------
Charles Yeomans
_______________________________________________
Valentina mailing list
Valentina /at/ lists .DOT macserve.net
http://lists.macserve.net/mailman/listinfo/valentina

 
©2005 Charles Yeomans
<-- Prior Message New Search Next Message -->