From d48894fc1421605f5d6f26f5780c65aae29fc5fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Tue, 3 Jan 2012 19:30:05 +0100 Subject: [PATCH] Fixed issue #17 --- clipboard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clipboard b/clipboard index fa4d17f..5c66a87 100644 --- a/clipboard +++ b/clipboard @@ -57,7 +57,7 @@ sub paste { my $str = `$self->{paste_cmd}`; if ($? == 0) { - $self->tt_paste($self->locale_encode($str)); + $self->tt_paste($str); } else { print STDERR "error running '$self->{paste_cmd}': $!\n"; } @@ -71,7 +71,7 @@ sub paste_escaped { my $str = `$self->{paste_cmd}`; if ($? == 0) { $str =~ s/([!#\$%&\*\(\) ='"\\\|\[\]`~,<>\?])/\\\1/g; - $self->tt_paste($self->locale_encode($str)); + $self->tt_paste($str); } else { print STDERR "error running '$self->{paste_cmd}': $!\n"; }