diff options
author | Brian Cully <bjc@kublai.com> | 2017-11-13 09:11:19 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2017-11-13 09:11:19 -0500 |
commit | 01afbc332316005a1cf7393fcdde3042be4316eb (patch) | |
tree | 738f0df67817acdf08f6d6cdaf84eca7aa91127d /xmpt | |
parent | 9d837e301e8163e4d398bc462ed31c34a2e52fae (diff) | |
download | xmpt-01afbc332316005a1cf7393fcdde3042be4316eb.tar.gz xmpt-01afbc332316005a1cf7393fcdde3042be4316eb.zip |
Config file is utf8.
Diffstat (limited to 'xmpt')
-rwxr-xr-x | xmpt | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,7 @@ sub read_conf { my $fh = new IO::File("<$filen") || die "Couldn't open $filen for reading: $!\n"; + binmode($fh, ':utf8'); map { chomp; s/\#.*$//; @@ -147,6 +148,7 @@ sub thunk { ['thunk', sub { package evalpkg; + use utf8; local $evalpkg::arg = shift; my $rc = eval $b; $@ && |