Closed sanemat closed 7 years ago
You should set LANG=en_US.UTF-8
. It works fine :)
You should set LANG=en_US.UTF-8. It works fine :)
It doesn't. Comment out the fix and run the spec to see.
Also running into this issue. Can confirm that the fix listed above by @sanemat does not work.
@sanemat I crated a PR for this issue. Can you take a look ?
GitDiffParser::Patches.parse(cp932 text) raises
ArgumentError: invalid byte sequence in UTF-8
here: https://github.com/packsaddle/ruby-git_diff_parser/blob/8dd67cfa619ab276635d83648480e1645ccf748a/lib/git_diff_parser/patches.rb#L22