Am 21.04.2006 um 21:22 schrieb Mike Ott:

Where do I have to add what?... Could you make a little example for me?

EditField.Text = myStringReceivedFromMySQL.DefineEncoding (Encodings.WindowsANSI)

That will work, because the Editfield (or even the debugger) will do the ConvertEncoding automatically.

Hans-Georg

ps. I personally deal a lot with different encodings. In the long run I found it to be much safer do convert the encoding of every incoming string to UTF-8 first and than do all string processing later. But if you only want to display the string in an Editfield than that isn't necessary at all.




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to