]> khamidou — GitHub mirrors - arcanist.git/commit
Switch arcanist to phutil_utf8_convert()
authorepriestley <git@epriestley.com>
Sun, 12 Aug 2012 15:50:01 +0000 (08:50 -0700)
committerepriestley <git@epriestley.com>
Sun, 12 Aug 2012 15:50:01 +0000 (08:50 -0700)
commitbe3ce781bb3d44e0e9b4b73e0c6be89e2e120052
tree49ceab69a3a484de5f36da729baf0237acbd516a
parentc0c78c2ff4068d927caa5d3d36939957671695b7
Switch arcanist to phutil_utf8_convert()

Summary: See D3252. Reduces code duplication a little bit. Also remove some dire warnings about impending doom -- this has been in use in the wild for a long time.

Test Plan: Added a file in ISO-8859-1, ran `arc diff --encoding ISO-8859-1` to generate this revision, got an encoding note in output.

Reviewers: davidreuss, vrana, btrahan

Reviewed By: davidreuss

CC: aran
Maniphest Tasks: T452

Differential Revision: https://secure.phabricator.com/D3253
src/parser/ArcanistBundle.php
src/parser/ArcanistDiffParser.php
src/workflow/ArcanistDiffWorkflow.php