Ignore:
Timestamp:
Sep 4, 2012, 10:03:33 PM (12 years ago)
Author:
rvelices
Message:

bug 2735: fix/improve non latin language tags

  1. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive
  2. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters
  3. missing from remove_accents characters in romanian language (Latin Extended-B) ? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW ? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW ? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW ? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW
  4. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r15384 r17748  
    301301    if (!isset($cache[__FUNCTION__][ $tag['name'] ]))
    302302    {
    303       $cache[__FUNCTION__][ $tag['name'] ] = strtolower(str2url($tag['name']));
     303      $cache[__FUNCTION__][ $tag['name'] ] = transliterate($tag['name']);
    304304    }
    305305  }
Note: See TracChangeset for help on using the changeset viewer.