uhtml: honor default charset -c when not found in document
This commit is contained in:
parent
1af7323238
commit
1f850cbab1
|
@ -131,6 +131,8 @@ main(int argc, char *argv[])
|
||||||
s = ++e;
|
s = ++e;
|
||||||
} while(t);
|
} while(t);
|
||||||
}
|
}
|
||||||
|
if(cset)
|
||||||
|
goto Found;
|
||||||
s = p;
|
s = p;
|
||||||
while(s+UTFmax < p+nbuf){
|
while(s+UTFmax < p+nbuf){
|
||||||
s += chartorune(&r, s);
|
s += chartorune(&r, s);
|
||||||
|
|
Loading…
Reference in a new issue