Skip to content

use 'utf-8-sig' when BOM detected

Gary Wang requested to merge garywang/doxyqml:bom into master

I'm not exactly sure why the utf-8 encoding is specified (PYTHONUTF8 environment variable can be used too). Since it's specified, the it will fall when the QML files are using UTF-8 with BOM. This patch try to detect BOM and use 'utf-8-sig' if BOM is detected.

Edited by Gary Wang

Merge request reports