Which means Capitalize (that I found already ) and remove the accents for any kind of accent in french é è ë ê à ù ç is there an easy way or do I have to search and replace for every kind of accent possible ?
#!/usr/bin/perl
use warnings;
use strict;
use diagnostics;
use utf8;
binmode(STDOUT, ":utf8");
use Encode ();
use Unicode::Normalize ();
my $s = Encode::decode('UTF-8', $ENV{KMVAR_Name}, 1);
$s = Unicode::Normalize::NFD($s);
$s =~ s/\pM//g;
print $s;