-
Notifications
You must be signed in to change notification settings - Fork 533
`split': invalid byte sequence in UTF-8 (ArgumentError) #188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I must revisit encondig urgently. There are several problems with it. Thank you for the detailed info! |
Thanks! 👍 Let me know if you need any info |
@robertodecurnex Did you get time to look at the encoding issue? I can also use Rugged for the diff, but the Rugged API doesn't provide stats for a particular diff and I need both stats and diff patch for each diff. |
Over in the
I think same approach in PR #190 from @jatinganhotra would probably fix this too.. |
Yes. The same approach in PR #190 would work. I thought that the PR had been accepted, after I fixed the Ruby 1.8 syntax issue. |
I think it's no longer mergable due to conflicts, maybe rebase with upstream master and push again.. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
For a project, I'm storing diffs for each commit in forms of difffiles (diff per file) and patches, including the stats for each patch.
My script starts like -
For 2 commits, I calculate the diff as follows:
In the generate_difffiles_and_stats function, I'm doing the following:
My script runs fine for simple commit histories that I created myself, but when I run it on project JSHint, I'm getting an error:
I researched about the error and found that the issue can be fixed by the answer in this StackOverflow answer.
Is it something that I am doing wrong?
Please let me know if you need any more information.
P.S. I know that this gem is not under active development, but it very nicely breaks down a Diff to Difffile to Patch. I can also easily access stats for each commit and stats per file. So, I stick to using it for diff purposes. I looked at the Rugged gem, but couldn't find such functionality. So, I just love this gem for this :)
The text was updated successfully, but these errors were encountered: