aboutsummaryrefslogtreecommitdiff
path: root/tgsend
diff options
context:
space:
mode:
authorGuillermo Ramos2019-06-29 21:31:25 +0200
committerGuillermo Ramos2019-06-29 21:31:25 +0200
commita6bffb72b4e45522df8b0bf273f9c77420208fc0 (patch)
tree4ac5d030a72d906b48d077fc0426c3d08b733f36 /tgsend
parent90093440e7c406cbd940c6841d92d6ffdae338bc (diff)
downloadtgutils-a6bffb72b4e45522df8b0bf273f9c77420208fc0.tar.gz
tgsend: utf8 -> UTF-8
Diffstat (limited to 'tgsend')
-rwxr-xr-xtgsend2
1 files changed, 1 insertions, 1 deletions
diff --git a/tgsend b/tgsend
index a05af32..1557cca 100755
--- a/tgsend
+++ b/tgsend
@@ -40,7 +40,7 @@ $TOKEN ||= fetch_token() or
# Read text from stdin
undef $/;
-binmode STDIN, ':encoding(utf8)';
+binmode STDIN, ':encoding(UTF-8)';
my $text = <STDIN>;
$text =~ s/^\s+|\s+$//g; # Trim input