Content-Type: text/html
Content-Length: 1632
f1 : {
"name":"247_utf8_bom.txt",
"size":19,
"mode":"binary",
"content-type":"application\/octet-stream",
"text":"проверка"
}
f text from binary, automatic transcode by UTF-8 preambule : {
"name":"247_utf8_bom.txt",
"size":8,
"mode":"text",
"content-type":"application\/octet-stream",
"text":"проверка"
}
f text from binary no transcode as charset specified in content-type : {
"name":"247_utf8_bom.txt",
"size":19,
"mode":"text",
"content-type":"text\/plain; charset=Windows-1251",
"text":"проверка"
}
f text from binary no transcode as from-charset specified : {
"name":"247_utf8_bom.txt",
"size":19,
"mode":"text",
"content-type":"application\/octet-stream",
"text":"проверка"
}
f1 : {
"name":"247_utf8.txt",
"size":16,
"mode":"binary",
"content-type":"application\/octet-stream",
"text":"проверка"
}
f text from binary, no transcode : {
"name":"247_utf8.txt",
"size":16,
"mode":"text",
"content-type":"application\/octet-stream",
"text":"проверка"
}
f text from binary transcode using from-charset : {
"name":"247_utf8.txt",
"size":8,
"mode":"text",
"content-type":"application\/octet-stream",
"text":"проверка"
}
Exception type: parser.runtime,
Source: create,
Comment: 'charset' option cannot be used together with 'to-charset' option
code coverage tests:
f1 : {
"name":"247_utf8_bom.txt",
"size":4,
"mode":"text",
"content-type":"application\/octet-stream",
"text":"рове"
}
{
"name":"noname.dat",
"size":4,
"mode":"text",
"content-type":"text\/plain",
"text":"test"
}