Hi-
I spent tonight teaching myself a little about charsets. I wonder with tibconnection how to protect controls so only utf8 characters can get accepted. I read where someone chose these for zeos zconnection but don't know if they are the same:
http://forum.lazarus-ide.org/index.php?topic=33741.0codepage=UTF8
controls_cp=CP_UTF8
Also, do I have to set anything with the font for charset?
I can put charset in object inspector property for tibconnection as: UTF8.
I also looked at encoding by right clicking in editor and looking at file settings and encoding.
Thx. for any tricks and letting me know correct settings for tibconnection param or where I can find that info.
I am interested if the right settings will block the controls from getting invalid data. For instance 1252 is only supposed to match utf8 for ascii characters so like what if someone wanted to type 1252 data that didn't match utf8 from the clipboard!
I noticed if I put the params in tibconnection in wrong from above the code still ran without any warnings.
Have cool week,
3rdshiftcoder