From 081a1852832e29f9cc754ad73ca6d22d1872b397 Mon Sep 17 00:00:00 2001 From: Ruben Espinosa Date: Mon, 2 Sep 2013 23:56:23 -0500 Subject: [PATCH] Update katip binary encoding bug fixed --- bin/katip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/katip b/bin/katip index 3e6a92d..a8bb1e3 100755 --- a/bin/katip +++ b/bin/katip @@ -63,7 +63,7 @@ def parse_change_log output.each do |line| - line.gsub!(/#[1-9][0-9]*/) {|s| '[' + s + "](#{ISSUE_URL}" + s[-(s.length-1)..-1] + ')'} + line.encode("utf-8", invalid: :replace, undef: :replace, replace: '').gsub!(/#[1-9][0-9]*/) {|s| '[' + s + "](#{ISSUE_URL}" + s[-(s.length-1)..-1] + ')'} end