Subject Re: Collation order
Author Sandor Szollosi
Hi Frank


> 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);

FAMILY2 (parm1, WIN1250_c5_init, CS_WIN1250, CC_HUNGARY);!!

> TEXTTYPE_RETURN;
> to lc_latin1.c

Yes, it is.

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

/interbase/jrd/intlnames.h
/*have to insert - COLLATION ("PXW_HUN", CC_HUNGARY, CS_WIN1250, 5,
WIN1250_c5_init) */

PXW_HUN is the name of the new collation. CC_HUNGARY is the counry
code, already declared in /interbase/intl/counrty_codes.h well.


/interbase/builds/original/sfx.intl
/*have to insert - "anhun.h" to lc_latin1.o section */

interbase/intl/depends.mak
/*have to insert - "lc_latin1.obj: anhun.h" to lc_latin1.obj section*/


> And is it needed for DOS852 also?
>
No.

I'am waiting for your questions to help you to help us.
Thanks
Sandor