Annotation of parser3/tests/results/344.processed, revision 1.6
1.1 moko 1: Content-Type: text/html
1.6 ! moko 2: Content-Length: 1603
1.1 moko 3:
4: f1 : {
5: "name":"247_utf8_bom.txt",
6: "size":19,
7: "mode":"binary",
8: "content-type":"application\/octet-stream",
9: "text":"проверка"
10: }
11: f text from binary, automatic transcode by UTF-8 preambule : {
12: "name":"247_utf8_bom.txt",
13: "size":8,
14: "mode":"text",
15: "content-type":"application\/octet-stream",
16: "text":"проверка"
1.2 moko 17: }
18: f text from binary no transcode as charset specified in content-type : {
19: "name":"247_utf8_bom.txt",
20: "size":19,
21: "mode":"text",
22: "content-type":"text\/plain; charset=Windows-1251",
23: "text":"проверка"
24: }
25: f text from binary no transcode as from-charset specified : {
26: "name":"247_utf8_bom.txt",
27: "size":19,
28: "mode":"text",
29: "content-type":"application\/octet-stream",
30: "text":"проверка"
31: }
32: f1 : {
33: "name":"247_utf8.txt",
34: "size":16,
35: "mode":"binary",
36: "content-type":"application\/octet-stream",
37: "text":"проверка"
38: }
39: f text from binary, no transcode : {
40: "name":"247_utf8.txt",
41: "size":16,
42: "mode":"text",
43: "content-type":"application\/octet-stream",
44: "text":"проверка"
45: }
46: f text from binary transcode using from-charset : {
47: "name":"247_utf8.txt",
48: "size":8,
49: "mode":"text",
50: "content-type":"application\/octet-stream",
51: "text":"проверка"
1.3 moko 52: }
53: Type: parser.runtime,
54: Source: create,
55: Comment: charset option can not be used with to-charset
1.4 moko 56: code coverage tests:
57: f1 : {
58: "name":"247_utf8_bom.txt",
59: "size":4,
60: "mode":"text",
61: "content-type":"application\/octet-stream",
62: "text":"рове"
1.5 moko 63: }
64: {
65: "name":"noname.dat",
66: "size":4,
67: "mode":"text",
1.6 ! moko 68: "content-type":"text\/plain",
! 69: "text":"test"
1.4 moko 70: }
E-mail: