]> iEval git - filters.git/commitdiff
Fix UTF-8 handling in uniencode (Closes: #508003)
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 18 Jul 2015 09:27:21 +0000 (12:27 +0300)
committerJoey Hess <joeyh@joeyh.name>
Thu, 30 Jul 2015 16:20:15 +0000 (12:20 -0400)
uniencode

index 2a80c0da0ea05592dd1ec35c49b054a55275df68..1c24f25c81233ad189f6bc5fa23e031e02c245a6 100755 (executable)
--- a/uniencode
+++ b/uniencode
@@ -1,6 +1,7 @@
 #!/usr/bin/perl
 # Ⅽоηνеrt аѕⅽіі tօ υtf‐8.
 use utf8;
+binmode STDIN, ":utf8";
 binmode STDOUT, ":utf8";
 
 %Δ=(
This page took 0.022776 seconds and 4 git commands to generate.