libgit2/libgit2 — pull request #1252 by ethomson (2013-01-17 19:13:33+00:00)
Title: escape non-utf8 char

Escape non-utf8 char in the test.

Caused python3 to fail miserably:

3> Traceback (most recent call last):
3> File "generate.py", line 235, in
3> suite.load(options.force)
3> File "generate.py", line 180, in load
3> if not self.modules[name].refresh(path):
3> File "generate.py", line 117, in refresh
3> raw_content = fp.read()
3> File "C:\Program Files\Python33\lib\encodings\cp1252.py", line 23, in decode
3> return codecs.charmap_decode(input,self.errors,decoding_table)[0]
3> UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 656: character maps to
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 1.