Bellow is a firebird SQL script that will help you easily to change the character set of all varchar fields of a database.