]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Template/Plugin/HTMLFixes.pm
Unterstützung für andere Datenbankencodings als Unicode/UTF-8 entfernt
[kivitendo-erp.git] / SL / Template / Plugin / HTMLFixes.pm
index 5c62078292c4d6170484a45fd445b117d9a6d713..fad69932a9fe5ff4f440603fc8d08fbf463c136b 100644 (file)
@@ -21,7 +21,7 @@ no warnings 'redefine';
 sub url {
     my ($self, $text) = @_;
     return undef unless defined $text;
-    $text =  Encode::encode('utf-8-strict', $text) if $::locale && $::locale->is_utf8;
+    $text =  Encode::encode('utf-8-strict', $text);
     $text =~ s/([^a-zA-Z0-9_.-])/uc sprintf("%%%02x",ord($1))/eg;
     return $text;
 }