Changeset 29530


Ignore:
Timestamp:
09/13/14 11:44:39 (5 years ago)
Author:
plg
Message:

bug on multibyte characters (russian for instance)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/trunk/modules/Tags/main.inc.php

    r27125 r29530  
    5656  foreach ($tags as $tag) 
    5757  { 
    58     $tag_letter = strtoupper(substr($tag['url_name'], 0, 1)); 
     58    $tag_letter = mb_strtoupper(mb_substr(transliterate($tag['name']), 0, 1, PWG_CHARSET), PWG_CHARSET); 
    5959 
    6060    if ($current_tag_idx==0) { 
Note: See TracChangeset for help on using the changeset viewer.