diff --git a/lib/IdPAccountManager/Tools.pm b/lib/IdPAccountManager/Tools.pm
index b0691923be942c22e791fb6d9e942e0d5b86fbc2..e77bcb5f17cd4ad8b81343a3bc03395984e4e937 100644
--- a/lib/IdPAccountManager/Tools.pm
+++ b/lib/IdPAccountManager/Tools.pm
@@ -180,36 +180,6 @@ sub qencode {
     );
 }
 
-## usefull to pass parameters to TT2
-sub encode_utf8 ($) {
-    my ($string) = @_;
-    $string = '' unless $string;
-
-    return Encode::encode('utf8', $string);
-}
-
-## Escape characters that may interfer in an XML document
-sub escape_xml {
-    my ($s) = @_;
-
-    $s =~ s/\&/&amp\;/gm;
-    $s =~ s/\"/&quot\;/gm;
-    $s =~ s/\</&lt\;/gm;
-    $s =~ s/\>/&gt\;/gm;
-    $s =~ s/\'/&#039;/gm;
-
-    return $s;
-}
-
-## usefull to pass parameters to TT2
-sub escape_quotes {
-    my ($string) = @_;
-
-    $string =~ s/\'/\\\'/g;
-
-    return $string;
-}
-
 1;
 __END__
 
diff --git a/lib/IdPAccountManager/WebRequest.pm b/lib/IdPAccountManager/WebRequest.pm
index ad5ff2863e775f473b1d577b6120db2af111410c..deb02ef52d985d56a9a6433f69c9e3394e988911 100755
--- a/lib/IdPAccountManager/WebRequest.pm
+++ b/lib/IdPAccountManager/WebRequest.pm
@@ -12,7 +12,6 @@ use IdPAccountManager::Data::AuthenticationToken;
 use IdPAccountManager::Data::ServiceProvider;
 use IdPAccountManager::Logger;
 use IdPAccountManager::SAMLMetadata;
-use IdPAccountManager::Tools;
 
 ## Defining parameters format
 my $urn_or_url_regex = '(http(s?):\/\/|urn:)[^\\\$\*\"\'\`\^\|\<\>\n\s]+'
@@ -174,12 +173,6 @@ sub respond {
     my $tt2 = Template->new(
         {
             ENCODING => 'iso-8859-1',    ## le défaut apparemment
-            FILTERS  => {
-                encode_utf8 =>
-                  [ \&IdPAccountManager::Tools::encode_utf8, 0 ],
-                escape_quotes =>
-                  [ \&IdPAccountManager::Tools::escape_quotes, 0 ]
-            },
             INCLUDE_PATH => $self->{configuration}->{templates_dir}
         }
     );