At 7:40 PM +0200 8/28/04, Fabio Soggia wrote:
I suppose it is an encoding problem.
I tried:
EditField1.Text = ConvertEncoding(Listbox1.Cell(row, 2), Encodings.UTF8)
And
EditField1.Text = ConvertEncoding(Listbox1.Cell(row, 2),
Encodings.WindowsANSI)
You should use:
EditField1.Text = Listbox1.Cell(row, 2)
In other words, there is no point in converting the text at this
point. If there is a problem, it must be earlier in the process.
But the new REAL Database engine handles encodings correctly, as long
as the text encoding is defined correctly when it goes in. So I
think you need to back up and tell us where this text you're storing
has come from.
Best,
- Joe
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.realsoftware.com |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|