Subject | Create a Unicode firebird database file |
---|---|
Author | Chau Chee Yang |
Post date | 2008-11-06T14:48:08Z |
Hi,
I use isc_dsql_execute_immediate to create database:
CREATE DATABASE 'test.fdb' USER 'SYSDBA' PASSWORD 'masterkey'
It works on Firebird 1.5 / 2.X
However, when I try to execute with a unicode filename:
CREATE DATABASE '<unicode>.fdb' USER 'SYSDBA' PASSWORD 'masterkey'
I always fails. I have tried to encode above statement to both UTF-8
or UTF-16.
Any ideas?
I use isc_dsql_execute_immediate to create database:
CREATE DATABASE 'test.fdb' USER 'SYSDBA' PASSWORD 'masterkey'
It works on Firebird 1.5 / 2.X
However, when I try to execute with a unicode filename:
CREATE DATABASE '<unicode>.fdb' USER 'SYSDBA' PASSWORD 'masterkey'
I always fails. I have tried to encode above statement to both UTF-8
or UTF-16.
Any ideas?