HomePhorge

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

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

Provenance
David ReussAuthored on Jun 29 2012, 12:38 PM
epriestleyCommitted on Jun 29 2012, 12:38 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP2bb815050699: Add specific close status queries to maniphest.find (and rename it to maniphest.
Branches
Unknown
Tags
Unknown

Event Timeline