Skip to content
Browse files

Grmbl...

  • Loading branch information...
1 parent f6af954 commit c5c93f37a75efd33ab09c62257c4f7ee021f433b @Getty Getty committed May 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/DDG/Translate.pm
View
4 lib/DDG/Translate.pm
@@ -6,7 +6,6 @@ use warnings;
use Exporter 'import';
use Locale::gettext_pp qw(:locale_h :libintl_h);
-use Encode qw( decode_utf8 );
use IO::All -utf8;
@@ -101,7 +100,8 @@ sub ldnp {
$return = sprintf(dnpgettext($td, $ctxt, $id, $idp, $n),@args);
}
# Fixing bad utf8 handling
- return decode_utf8($return);
+ utf8::decode($return);
+ return $return;
}
sub ltd {

0 comments on commit c5c93f3

Please sign in to comment.
Something went wrong with that request. Please try again.