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

merge -r17748 from trunk to branch 2.4 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
  • branches/2.4/include/functions_search.inc.php

    r12922 r17749  
    267267
    268268
    269 if (function_exists('mb_strtolower'))
    270 {
    271   function transliterate($term)
    272   {
    273     return remove_accents( mb_strtolower($term) );
    274   }
    275 }
    276 else
    277 {
    278   function transliterate($term)
    279   {
    280     return remove_accents( strtolower($term) );
    281   }
    282 }
    283 
    284269function is_word_char($ch)
    285270{
Note: See TracChangeset for help on using the changeset viewer.