Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

I officially hate utf8

  • Loading branch information...
commit bbd5befee04b245e7fd3aded720a857a9b5737c9 1 parent f2ff6ae
@Getty Getty authored
Showing with 0 additions and 9 deletions.
  1. +0 −1  dist.ini
  2. +0 −2  lib/DDG/Translate.pm
  3. +0 −6 t/30-ddg-othertest.t
View
1  dist.ini
@@ -12,7 +12,6 @@ Locale::TextDomain = 1.20
[Prereqs / TestRequires]
Test::More = 0.98
-Test::utf8 = 1.00
[GatherDir]
[PruneCruft]
View
2  lib/DDG/Translate.pm
@@ -3,7 +3,6 @@ package DDG::Translate;
use strict;
use warnings;
-use utf8::all;
use Exporter 'import';
use Locale::gettext_pp qw(:locale_h :libintl_h);
@@ -100,7 +99,6 @@ sub ldnp {
} else {
$return = sprintf(dnpgettext($td, $ctxt, $id, $idp, $n),@args);
}
- Encode::_utf8_on($return);
return $return;
}
View
6 t/30-ddg-othertest.t
@@ -3,8 +3,6 @@
use strict;
use warnings;
use Test::More;
-use utf8::all;
-use Test::utf8;
use FindBin qw($Bin);
@@ -37,8 +35,4 @@ is(
"Umlaut Test"
);
-is_valid_string($umlaut_trans);
-is_sane_utf8($umlaut_trans);
-is_flagged_utf8($umlaut_trans);
-
done_testing;
Please sign in to comment.
Something went wrong with that request. Please try again.