Subject | Re: [firebird-support] Convert large database from UNICODE_FSS to UTF8 |
---|---|
Author | Milan Babuskov |
Post date | 2009-12-15T17:39:59Z |
majstor wrote:
isql -x database.fdb | sed "s/UNICODE_FSS/UTF-8/" > new.sql
isql
SQL> create database 'newdb.fdb' default character set UTF-8;
SQL> input new.sql;
SQL> exit;
fbcopy s database.fdb newdb.fdb
:)
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================
> I have large Firebird database about 20GB is database file. I need to convert that database from UNICODE_FSS to UTF8!Here's how I do it:
> Is there any solution (step by step if it is possible) how to convert this database???
isql -x database.fdb | sed "s/UNICODE_FSS/UTF-8/" > new.sql
isql
SQL> create database 'newdb.fdb' default character set UTF-8;
SQL> input new.sql;
SQL> exit;
fbcopy s database.fdb newdb.fdb
:)
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================