How the sqldb package handles this point?

sqlDB does not perform any character translation.
Only stores data in record buffers as they arrive.
So it expects, that programmer is aware of that and sets correct "connection encoding". In case of Lazarus it is often UTF-8, because Lazarus expects that character data are UTF-8 encoded (at least it was so). So user programmer must set connection encoding to UTF-8 then data arrive utf-8 encoded and sqlDB only stores them and forwards them to for example data-aware controls for displaying.
-Laco.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to