Homec4science

Handle encoding if git tells us it's still not UTF-8

Authored by David Reuss <david@upsys.dk> on Jun 29 2012, 21:38.

Description

Handle encoding if git tells us it's still not UTF-8

Summary:
Even though --encoding is passed to the command, git still fails
in some cases to correctly convert the output. Attempt the conversion
ourselves if it's non UTF-8.

Test Plan: Reparsed message in a repository with ISO-8859-1 encoded commit messages.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T452

Differential Revision: https://secure.phabricator.com/D2888

Details

Committed
epriestley <git@epriestley.com>Jun 29 2012, 21:38
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2bb815050699: Add specific close status queries to maniphest.find (and rename it to maniphest.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHaa95ef2463fd: Handle encoding if git tells us it's still not UTF-8 (authored by David Reuss <david@upsys.dk>).Jun 29 2012, 21:38