Subject Re: [ib-support] Re: Collation order
Author Frank Schlottmann-Goedde
Sandor Szollosi wrote:

> Hi Frank
> As I wrote last posted mail, we had some changes in downloaded source
> to try our new collation order. But we'd like to integrate this into
> main FB CVS tree and we'd like to know it in that. Our file is
> contains a new order which is similar to the original (ANHUNDC.H -
> PWX_HUNDC) but it's a new collation method and requires a new entry
> in lc_latin1.c as I wrote this too.

As I have no experience with this collation order stuff (especially when
it comes
to hungarian) I just don't know where changes are necessary.

Is it sufficient to add

EXTERN_texttype (WIN1250_c5_init);
to ld.c

and add

#include "../intl/undef.h"
.
TEXTTYPE_ENTRY (WIN1250_c5_init)
{
static CONST ASCII POSIX[] = "PXW_HUN.WIN1250";

#include "../intl/anhun.h"

FAMILY2 (parm1, WIN1250_c5_init, CS_WIN1250, CC_HUNGARY2);

TEXTTYPE_RETURN;
}

to lc_latin1.c


And under what name (CC_HUNGARY...) should it be registered?


And is it needed for DOS852 also?


Frank


--
"Fascinating creatures, phoenixes. They can carry immensely heavy loads,
their tears have healing powers and they make highly faithful pets."
- J.K. Rowling
http://firebirdsql.org