Skip to main content.
home | support | download

Back to List Archive

Re: I18n with strcoll()

From: Andreas Seltenreich <andreas.seltenreich(at)not-real.ubka.uni-karlsruhe.de>
Date: Wed Jun 01 2005 - 19:34:11 GMT
Bill Moseley writes:

> On Wed, Jun 01, 2005 at 09:10:45PM +0200, Andreas Seltenreich wrote:
>> Andreas Seltenreich writes:
>> 
>> > Bill Moseley writes:
>> >>
>> >>     PropertyNamesCase (compare|ignore|strcoll)  <metaname> [, <metaname> ]
>> 
>> I'm wondering what the right way would be to specify a default setting
>> for those automatically defined meta names:
>> 
>> parser.c:
>> --8<---------------cut here---------------start------------->8---
>>             if ( sw->UndefinedMetaTags == UNDEF_META_AUTO )
>>             {
>>                 if (sw->verbose)
>>                     printf("**Adding automatic MetaName '%s' found in file '%s'\n", tag, parse_data->fprop->real_path);
>> 
>>                 m = addMetaEntry( parse_data->header, tag, META_INDEX, 0);
>>             }
>> --8<---------------cut here---------------end--------------->8---
>
> Not sure I follow.  That's adding metanames automatically, not properties.

Hmm, wouldn't

   addMetaEntry( parse_data->header, tag, META_INDEX | META_USE_STRCOLL, 0);

enable strcoll sorting for the properties stored under those
metanames? Looks like I still don't really understand swish-e's
innards...

thanks,
Andreas
Received on Wed Jun 1 12:34:12 2005