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;
|
||||
} while(t);
|
||||
}
|
||||
if(cset)
|
||||
goto Found;
|
||||
s = p;
|
||||
while(s+UTFmax < p+nbuf){
|
||||
s += chartorune(&r, s);
|
||||
|
|
Loading…
Reference in a new issue