Fix a ruby 1.9 encoding problem, "LooseObjectError: size mismatch" by committing non-ASCII content.
Fix a ruby 1.9 encoding problem,
"LooseObjectError: size mismatch" by committing non-ASCII content.

String#length returns number of characters in the encoding of the string. Instead, we should use String#bytesize.

thommay/grit,flycutter/grit,HrishikeshSingh/testmodulerepo,gitcafe-dev/grit,brynary/grit,flycutter/grit,rgroux/grit,redronin/grit,isabanin/grit,gitlabhq/grit,gitcafe-dev/grit,isabanin/grit,gitlabhq/grit,mojombo/grit,brynary/grit,renatoramiro/grit,github/grit,abicky/grit,thommay/grit,patientslikeme/grit,kevinsawicki/grit,rgroux/grit,HrishikeshSingh/testmodulerepo,kevinsawicki/grit