There seems to be a bug maybe in the conversion of utf8tostring when the non-unicode regional settings of the PC are not English.
I have a sample program where I convert unicode text in your control to UTF8 and then back again to unicode - This does not work when the regional settings of the PC are set to something other than English e.g. Korea (as it would on a korean desktop)
Your help would be very much appreciated - what am I doing wrong ??
Can I add that I tested UTF8conv.exe going from UTF16->UTF8 and back again and the issue does not occur so it is something that I am doing wrong. Is there source available for utf8conv ?
you cannot use a standard textbox (with ANSI encoding) on non ANSI locales (like Korean) for UTF8 strings because UTF8 encoding uses extended ASCII chars so it cannot contain right characters
use a Unicode Textbox also for UTF8 strings in your app
If you need to absolutely use a standard ANSI textbox use our HEX encoding instead of UTF8
Sorry one more thing, do your controls allow me to change the locale that is to be used programmatically - e.g. always use English etc ? This will solve all my issues ?
Everything works as expected except when non Ansi locales are used.