webbuild/webbuild-functions: pipe iconv to build outputs to fix invalid UTF-8 characters

This commit is contained in:
Silvan Calarco 2021-06-05 10:57:06 +02:00
parent 70def57d53
commit 33c3a3ca36

View File

@ -272,7 +272,7 @@ function parse_build_output() {
s|\(.*\)\(error[^0-9A-Za-z]*:[[:space:]]*.*\)|<span class=\"outputboxerror\">\1<a %SRCURL%\2%SRCURLEND%>\2</a></span>|i;
s|^\(== =.*\)|<span class=\"outputboxok\">\1</span>|;
s|^[[:cntrl:]]*\([!%?=][!%!=>] .*\)|<font style=\"color:gold\">\1</font>|;
s|[[:cntrl:]]||g;" | google_search $1
s|[[:cntrl:]]||g;" | iconv -c | google_search $1
}
function parse_generic_output() {