Subject Re: [firebird-support] What is the argument character set for isc_attach_database under Windows?
Author Richard Wesley
On May 3, 2006, at 10:47, Dmitry Yemanov wrote:

> "Richard Wesley" <hawkfish@...> wrote:
>>
>> isc_attach_database takes several string arguments. I have the=20=20
>> string arguments internally in utf16, but the API takes single
>> byte=20=20
>> character strings. I had been converting to utf8, but this
> appears=20=20=20
>> to mangle path names with non-ascii characters in them (e.g. =EA E-
>> =20
>> CIRCUMFLEX).
>>
>> What is the correct code page to use for this under Windows?
>
> AFAIK, only ASCII characters are allowed.

Thanks for answering. I found that converting to CP_THREAD_ACP fixed
the problem. YMMV.

________________________________________________________
Richard Wesley Software Engineer
Tableau Software
http://www.tableausoftware.com/ hawkfish
tableausoftware com