aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ManaTools')
-rw-r--r--lib/ManaTools/Shared/Locales.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ManaTools/Shared/Locales.pm b/lib/ManaTools/Shared/Locales.pm
index ec54614..26ba789 100644
--- a/lib/ManaTools/Shared/Locales.pm
+++ b/lib/ManaTools/Shared/Locales.pm
@@ -221,7 +221,7 @@ sub N_ {
$self: this object
$s: string to be converted
-=head3 OUTPUT\
+=head3 OUTPUT
$converted: converted string
@@ -235,7 +235,7 @@ sub N_ {
sub from_utf8 {
my ($self, $s) = @_;
- my $converter = Text::Iconv->new("utf-8", undef);
+ my $converter = Text::Iconv->new("utf-8", "");
my $converted = $converter->convert($s);
return $converted;
@@ -251,7 +251,7 @@ sub from_utf8 {
$self: this object
$s: string to be converted
-=head3 OUTPUT\
+=head3 OUTPUT
$converted: converted string
@@ -265,7 +265,7 @@ sub from_utf8 {
sub to_utf8 {
my ($self, $s) = @_;
- my $converter = Text::Iconv->new(undef, "utf-8");
+ my $converter = Text::Iconv->new("", "utf-8");
my $converted = $converter->convert($s);
return $converted;