We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4eb9da commit 9b9058dCopy full SHA for 9b9058d
diff-so-fancy
@@ -10,7 +10,6 @@ use strict;
10
11
use File::Spec; # For catdir
12
use File::Basename; # For dirname
13
-use Encode; # For handling UTF8 stuff
14
use Cwd qw(abs_path); # For realpath()
15
use lib dirname(abs_path(File::Spec->catdir($0))) . "/lib"; # Add the local lib/ to @INC
16
use DiffHighlight;
@@ -640,7 +639,8 @@ sub horizontal_rule {
640
639
# BOX DRAWINGS LIGHT HORIZONTAL http://www.fileformat.info/info/unicode/char/2500/index.htm
641
my $dash;
642
if ($use_unicode_dash_for_ruler && should_print_unicode()) {
643
- $dash = Encode::encode('UTF-8', "\x{2500}");
+ #$dash = Encode::encode('UTF-8', "\x{2500}");
+ $dash = "\xE2\x94\x80";
644
} else {
645
$dash = "-";
646
}
0 commit comments