read_spec_entry: fail on non-ascii
Inserting non-ascii characters into the following files:
* file_contexts
* property_contexts
* service_contexts
can cause a failure on labeling but still result in a successful
build.
Hard error on non-ascii characters with:
<path>: line 229 error due to: Non-ASCII characters found
Signed-off-by: William Roberts <william.c.roberts@intel.com>
(cherry picked from commit de7b594ace8c4b5343885dcec401bee0977ad7b5)
Change-Id: I3ae442e4673490f1815f3cae4eed494a8d68d1dc
4 files changed