[fpc-pascal] request for help: connecting to WIN1251 (ANSI) codepaged DB (FB1.0.3) in Lazarus

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Apr 26 22:38:48 CEST 2010


2010/4/1 62mkv <62mkv at mail.ru>:
>  I've made requests on several FreePascal\Lazarus forums, all states
>  that I need either to migrate to migrate to more recent version of
>  FB (most popular advice, which I cannot follow) or "patch" SqlDB
>  components so that they should make on-the-fly AnsiToUTF8 and vice versa conversion

Another solution is not using data-aware controls, read your data
directly from the database though your TDataset object and before
sending the strings to Lazarus convert them using CP1251ToUTF8

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list