Subject Re: f_GenerateSndxIndex fails on accented characters
Author Dan Cooperstock
The UDF declaration is:

declare external function f_GenerateSndxIndex
cstring(256)
returns
cstring(6) /* free_it */
entry_point 'GenerateSndxIndex' module_name 'FreeUDFLib';

The character set (declared in the ODBC DSN) is UTF8.

--- In firebird-support@yahoogroups.com, Adriano dos Santos Fernandes
<adrianosf@...> wrote:
>
> Dan Cooperstock escreveu:
> > I'm running into a failure on the f_GenerateSndxIndex function
from=20
> > FreeUDFLib. If I run:
> >
> > SELECT f_GenerateSndxIndex('=C9glise Baptiste de St-Augustin')
> > from rdb$database;
> >
> > I get an error "Malformed string." It's clearly because of the
accent=20
> > in '=C9glise', because if I eliminate that first accented
character, it's=20
> > fine.=20
> >
> > Does anybody have any suggestions or know of a fixed version?
> >
> What is the UDF declaration? What is the client character set?
>
>
> Adriano
>