Details
- Reviewers
JoshStrobl - Group Reviewers
Triage Team - Maniphest Tasks
- T3526: Ding: German-English dictionary lookup program
- Commits
- R3474:0d8f33baa02d: Initial commit of ding
Diff Detail
- Repository
- R3474 ding
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Sorry for the mess with the binary file. I encountered this message using arc diff:
"Invalid Content Encoding (Non-UTF8)
This diff includes a file which is not valid UTF-8 (it has invalid byte
sequences). You can either stop this workflow and fix it, or continue. If you
continue, this file will be marked as binary.
You can learn more about how Phabricator handles character encodings (and how
to configure encoding settings and detect and correct encoding problems) by
reading 'User Guide: UTF-8 and Character Encoding' in the Phabricator
documentation.
AFFECTED FILE files/0001-Patch-ding.patch
Invalid Content Encoding (Non-UTF8)
This diff includes a file which is not valid UTF-8 (it has invalid byte
sequences). You can either stop this workflow and fix it, or continue. If you
continue, this file will be marked as binary.
The file was uploaded as binary hence it can't be shown... :/
Any ideas of how to fix this issue so that the patch is uploaded as text?
Following the guide about UTF-8 I run /usr/bin/libphutil/scripts/utils/utf8.php files/0001-Patch-ding.patch, and it outputs some "offending lines in the patch":
30 # spell checker
31 set default_searchmeth(2,name) {Rechtschreibung}
32 set default_searchmeth(2,grepcmds) {hunspell ispell aspell}
33 set default_searchmeth(2,language1) "Deutsche Rechtschreibpr<0xFC>fung"
34 -set default_searchmeth(2,grepopts) "-B -d german -a"
35 +set default_searchmeth(2,grepopts) "-B -d de_DE -a"I managed to fix it and upload as text. Just in case someone else runs across the same issue, you can specify the encoding when running arc diff. In my case arc diff --encoding ISO-8859-1 made the trick.