Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510)
* Add failing test for windows-1251 link cards * Ignore low-confidence CharlockHolmes guesses Fixes #9466 * Fix no method error when charlock holmes cannot detect charsetmaster
parent
4ede51743e
commit
e709b8da0d
@ -0,0 +1,17 @@ |
||||
HTTP/1.1 200 OK |
||||
server: nginx |
||||
date: Wed, 12 Dec 2018 13:14:03 GMT |
||||
content-type: text/html |
||||
content-length: 190 |
||||
accept-ranges: bytes |
||||
|
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> |
||||
<title>ñýìïë òåêñò</title> |
||||
</head> |
||||
<body> |
||||
<p>ñýìïë òåêñò</p> |
||||
</body> |
||||
</html> |
Loading…
Reference in new issue