I build env from $ git clone https://github.com/phacility/libphutil.git && $ git clone https://github.com/phacility/arcanist.git
I’m setting a new project encoding with GBK, and call arc set-config encoding GBK affect to ~/.arcrc
when i exec arc diff, it didn't load encoding from ~/.arcrc, just use UTF-8 as default, when use --encoding GBK , it works fine.
so i trace source of arcanist, modify it , then encoding conf works!
the diff is below: will you patch to source ? ( so i can get a raw git clone to work, thanks a lot!)
```
diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php
index 2365083..c26a5aa 100644
--- a/src/workflow/ArcanistWorkflow.php
+++ b/src/workflow/ArcanistWorkflow.php
@@ -1592,7 +1592,7 @@ abstract class ArcanistWorkflow extends Phobject {
final protected function getRepositoryEncoding() {
return nonempty(
idx($this->loadProjectRepository(), 'encoding'),
- 'UTF-8');
+ $this->getConfigFromAnySource('encoding','UTF-8'));
}
final protected function loadProjectRepository() {
```