On Mon, 8 Jul 2002, C Bobroff wrote:

> > Actually, it said they only put it in "T".
> 
> According to Library of Congress and British Library cataloging rules,
> they are SUPPOSED to cross reference. What some lazy librarians may
> actually do in practice is another matter!
> In this case, he may also have found the title in question by looking
> first under "T" and not have realized he could have also found it under
> "2".

I know, but there may be one official place for the book. About what Knuth 
has found, this is the exact case:

        The following "alphabetical" listing indicates many of the 
        procedures recommended in the *American Library Association Rules 
        for Filing Catalog Cards* (Chicago, 1942):
        [...]

He then lists a big list of non-trivial examples, like that '&' is treated 
like 'and', '1847' is sortes as 'Eighteen forty-seven', Apostrophes are 
ignored in English titles but treated as space in French titles, and "al-" 
is ignored in Arabic names.

> But back to sorting. I'm still trying to understand how this works. If
> I put a PHP script to sort the Persian words correctly, will that then
> override all the Arabic default sorting whether in a javascript program
> or anything else?
>
> And if I should want to sort something according to Arabic order (I don't
> actually!), that will no longer be possible??

I'm not sure I get you. When you sort, you give it a collation ruleset. If
you want to write some code for sorting strings, it's good to make it able
to get the ruleset name and sort based on it. Your function should be able
to get 'ar' or 'fa' as a paremeter and sort based on that.

You will then use the Arabic sort in your Arabic pages and Persian sort in
your Persian pages.

roozbeh

_______________________________________________
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb

Reply via email to