Convert source files encoding to utf-8
All non-ASCII files should be encoded in UTF-8. So far, the ZSH script `Scripts/developer_scripts/detect_wrong_encoding` detects wrong encoding in source/header files of include/, src/, and doc/.
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
setopt extendedglob
|
||||
|
||||
file ^build*/(include|doc)/**/*.h| egrep -v ':[[:space:]]+(C(\+\+)? source, |LaTeX document, |HTML document, )?(ASCII|UTF-8 Unicode) text(, with very long lines)?$'
|
||||
file ^build*/(demo|test|examples|include|doc|src)/**/*.(h|hpp|H|C|c|cpp)| egrep -v ':[[:space:]]+(C(\+\+)? source, |LaTeX document, |HTML document, )?(ASCII|UTF-8 Unicode) text(, with very long lines)?$'
|
||||
|
||||
Reference in New Issue
Block a user