Jacek Laskowski 57 Posted March 12, 2021 Is it possible to automatically convert the entire Firebird database from win-1250 to UTF-8 encoding? Are there any tools for this purpose? Or using backup/restore? Share this post Link to post
Markus Kinzler 174 Posted March 12, 2021 Best by batchmoving the data from one db to another. Share this post Link to post
Guest Posted March 12, 2021 Ask in FB news/support groups/areas. This is not the correct forum. There is a "cultural affinity" between Delphi and FB/IB. But that's it. Anyhow, yes, there are both instructions and specific scripts in FB installs to lever that problem. Considering the deployment it is either a "breeze" or "process". /D Share this post Link to post
FredS 138 Posted March 12, 2021 10 hours ago, Jacek Laskowski said: entire Firebird database from win-1250 to UTF-8 encoding? Assuming you have no 'explicit COLLATE ' in your tables you can use ALTER CHARACTER SET on an empty DB and batch move data into that. Or add this to your creation statement, keep in mind there where speed issues with UNICODE_CI_AI until v3.07: CREATE DATABASE :FileName USER :UserName PASSWORD :Pwd PAGE_SIZE 16384 default character set UTF8 collation UNICODE_CI_AI ; Share this post Link to post
c0d3r 17 Posted March 22, 2021 Here you go, this is how I did exactly what you wanted: https://github.com/zedalaye/fbclone Share this post Link to post
Guest Posted March 22, 2021 remember: there a dialect 1 between changes, then, any chars not founded in another set, can dont be showed as expected. hug Share this post Link to post