Changeset 7ec37bd in lab.git for misc


Ignore:
Timestamp:
Jan 26, 2013 12:16:00 AM (12 years ago)
Author:
mitty <mitty@…>
Branches:
master, trunk
Children:
bf1a1ea
Parents:
dfae53c
Message:
  • output composed string

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@196 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/findcombinable.pl

    rdfae53c r7ec37bd  
    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.