On Wednesday, 12. January 2011 14.27:14 LacaK wrote: > > Yes, sounds logicaly to me. > Then you propose same way for TStringField ? (internaly store as > UnicodeString UTF-16 and also TStringField.Text should return > UnicodeString instead of String ?
It is done so in MSEgui fork of sqldb. In case you don't know MSEide+MSEgui, it is here: http://developer.berlios.de/projects/mseide-msegui/ > ... what will happens in LCL, when > visual component will read UTF-16 string, will they be translated into > UTF-8 automagicaly?) It works for MSEgui where all strings are utf-16 FPC UnicodeString. It does not work for Lazarus with the utf-8 encoded ansistrings. Martin _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel