Fix a crash when merging files in the git-annex branch that contain invalid utf8.

The crash actually occurred when writing out the file, which was done to a
handle that had not had fileSystemEncoding applied to it.
This commit is contained in:
Joey Hess 2012-10-12 12:19:30 -04:00
parent aa8b15d966
commit e05c21cb73
4 changed files with 17 additions and 5 deletions

View file

@ -57,3 +57,6 @@ Using Ubuntu's original version (3.20120406) the error message is a bit differen
> try to look at it again soon; the last 2 times I looked at that code
> I could not see an easy way to make it allow invalid utf-8 encoded data.
> --[[Joey]]
>> [[done]], although I am no longer so sure this was the last utf-8
>> encoding bug.. --[[Joey]]