/[webpac]/trunk/my_unac_string.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/my_unac_string.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 630 by dpavlin, Tue Jun 15 22:08:42 2004 UTC revision 631 by dpavlin, Sun Jan 16 18:29:24 2005 UTC
# Line 9  sub my_unac_string { Line 9  sub my_unac_string {
9          my $string = shift || return;          my $string = shift || return;
10          $string = unac_string($charset,$string);          $string = unac_string($charset,$string);
11          $string =~ tr//dD/;          $string =~ tr//dD/;
12            $string =~ s#&(\w)(acute|cedil|circ|grave|ring|slash|tilde|uml);#$1#gi;
13          return $string;          return $string;
14  }  }
15    

Legend:
Removed from v.630  
changed lines
  Added in v.631

  ViewVC Help
Powered by ViewVC 1.1.26