Ignore:
Timestamp:
08/20/09 19:28:34 (15 years ago)
Author:
nanardon
Message:
  • convert æ and œ too in ascii conversion
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/lib/LATMOS/Accounts/Utils.pm

    r334 r377  
    1919    return $text unless(defined($text)); 
    2020    utf8::decode($text) unless(utf8::is_utf8($text)); 
     21    $text =~ s/œ/oe/g; 
     22    $text =~ s/Ê/ae/g; 
    2123    $text =~ tr/uàâÀÂÄÀçéÚêëÉÈÊËïîÏÎöÎÖÔÌûÛÜ/uaaaAAAceeeeEEEEiiIIooOOuuUU/; 
    2224    $text =~ s/([^[:ascii:]])//; 
Note: See TracChangeset for help on using the changeset viewer.