Changeset 196 in lab


Ignore:
Timestamp:
Jan 26, 2013 12:16:00 AM (11 years ago)
Author:
mitty
Message:
  • output composed string
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/misc/findcombinable.pl

    r195 r196  
    2020    $str = $utf8->decode($str); 
    2121    if ($str ne NFC($str)) { 
    22         return 1; 
     22        return $utf8->encode(NFC($str)); 
    2323    } 
    2424     
     
    3636    my @dirs; 
    3737    while (my $entry = shift @entries) { 
    38         if (match($entry)) { 
    39             print "'$target/$entry' can be composed\n"; 
     38        if (my $composed = match($entry)) { 
     39            print "'$target/$entry' can be composed to '$composed'\n"; 
    4040            next; 
    4141        } 
Note: See TracChangeset for help on using the changeset viewer.