Subject: | wide character in print with ::Commit |
I've only just noticed this, not sure how long its been happening.
Basically, I have UTF-8 Characters in my Changelog, and so this line gives a warning:
Wide character in print at /home/kent/perl5/perlbrew/perls/perl-5.19.5/lib/site_perl/5.19.5/Dist/Zilla/Plugin/Git/Commit.pm line 87.
https://metacpan.org/source/CJM/Dist-Zilla-Plugin-Git-2.017/lib/Dist/Zilla/Plugin/Git/Commit.pm#L87
Though I haven't exactly worked out how to get the right value for that string.
The code I'd imagine would have to be somewhere after _get_changes, because it transiently munges content. But the content is still utf8 after munging, so you may have to clone the file in memory, stuff the munged content in it, and then ask the file for encoded_content to spew into the git commit message.
Or something along those lines.