a6429f8c22
Completely removed the html5lib sanitizer. Fixed the string-handling to work in both Ruby 1.8.x and 1.9.2. There are still, inexplicably, two functional tests that fail. But the rest seems to work quite well.
114 lines
3 KiB
Text
114 lines
3 KiB
Text
#data
|
|
<meta
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<!
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta charset = "
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta charset=EUC-jp
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta <meta charset='EUC-jp'>
|
|
#encoding
|
|
EUC-jp
|
|
|
|
#data
|
|
<meta charset = 'EUC-jp'>
|
|
#encoding
|
|
EUC-jp
|
|
|
|
#data
|
|
<!-- -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
#encoding
|
|
utf-8
|
|
|
|
#data
|
|
<!-- -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta http-equiv="Content-Type<meta charset="utf-8">
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta http-equiv="Content-Type" content="text/html; charset='utf-8'">
|
|
#encoding
|
|
utf-8
|
|
|
|
#data
|
|
<meta http-equiv="Content-Type" content="text/html; charset='utf-8">
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta charset =
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta charset= utf-8
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta content = "text/html;
|
|
#encoding
|
|
windows-1252
|
|
|
|
#data
|
|
<meta charset="UTF-16">
|
|
#encoding
|
|
utf-8
|
|
|
|
#data
|
|
<meta charset="UTF-16LE">
|
|
#encoding
|
|
utf-8
|
|
|
|
#data
|
|
<meta charset="UTF-16BE">
|
|
#encoding
|
|
utf-8
|
|
|
|
#data
|
|
<html a=ñ>
|
|
<meta charset="utf-8">
|
|
#encoding
|
|
utf-8
|
|
|
|
#data
|
|
<html ñ>
|
|
<meta charset="utf-8">
|
|
#encoding
|
|
utf-8
|
|
|
|
#data
|
|
<html>ñ
|
|
<meta charset="utf-8">
|
|
#encoding
|
|
utf-8
|