Chardet doesn't always seem to correctly detect files encoding
correctly in all circumstances, to make it so that a user can
specify the exact encoding of there files allow a new config
option and a new CLI option that allows for manually overriding
the encoding that chardet will try to determine.
Reviewed: https:/ /review. openstack. org/130390 /git.openstack. org/cgit/ stackforge/ doc8/commit/ ?id=04a710c687a 7cb2da2b2a6bbd8 6c20aa32d1dc60
Committed: https:/
Submitter: Jenkins
Branch: master
commit 04a710c687a7cb2 da2b2a6bbd86c20 aa32d1dc60
Author: Joshua Harlow <email address hidden>
Date: Wed Oct 22 16:13:33 2014 -0700
Allow overriding file encoding
Chardet doesn't always seem to correctly detect files encoding
correctly in all circumstances, to make it so that a user can
specify the exact encoding of there files allow a new config
option and a new CLI option that allows for manually overriding
the encoding that chardet will try to determine.
If enabled chardet detection will no longer run.
Fixes bug 1384463
Change-Id: Ie8baf3f79083e1 495c7420a9d0569 390cad2115e