Lines Matching refs:encode
25 …my $ret = $enc->encode( "a", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::LEAVE_SR…
26 …is($warn, undef, "Calling encode on UTF32-LE encode object with valid string produces no warnings"…
27 …is($ret, $valid, "Calling encode on UTF32-LE encode object with valid string returns correct outpu…
33 …$enc->encode( "\x{D800}", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::LEAVE_SRC );
34 …like($warn, qr/UTF-16 surrogate.* at $script line /, "Calling encode on UTF32-LE encode object wit…
40 …$enc->encode( "\x{D800}", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::LEAVE_SRC );
41 …is($warn, undef, "Warning from encode method of UTF32-LE encode object can be silenced via no warn…
47 …$enc->encode( "\x{D800}", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::LEAVE_SRC );
48 …is($warn, undef, "Warning from encode method of UTF32-LE encode object can be silenced via no warn…
54 $enc->encode( "\x{D800}", Encode::WARN_ON_ERR | Encode::LEAVE_SRC );
55 …arn, qr/UTF-16 surrogate.* at $script line /, "Warning from encode method of UTF32-LE encode objec…
61 $enc->encode( "\x{D800}", Encode::WARN_ON_ERR | Encode::LEAVE_SRC );
62 …arn, qr/UTF-16 surrogate.* at $script line /, "Warning from encode method of UTF32-LE encode objec…
68 …my $ret = Encode::encode( $enc, "a", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::…
69 is($warn, undef, "Calling Encode::encode for UTF32-LE with valid string produces no warnings");
70 … is($ret, $valid, "Calling Encode::encode for UTF32-LE with valid string returns correct output");
76 …Encode::encode( $enc, "\x{D800}", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::LEA…
77 …like($warn, qr/UTF-16 surrogate.* at $script line /, "Calling Encode::encode for UTF32-LE with inv…
84 …Encode::encode( $enc, "\x{D800}", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::LEA…
85 …is($warn, undef, "Warning from Encode::encode for UTF32-LE can be silenced via no warnings 'utf8'"…
91 …Encode::encode( $enc, "\x{D800}", Encode::WARN_ON_ERR | Encode::ONLY_PRAGMA_WARNINGS | Encode::LEA…
92 is($warn, undef, "Warning from Encode::encode for UTF32-LE can be silenced via no warnings");
98 Encode::encode( $enc, "\x{D800}", Encode::WARN_ON_ERR | Encode::LEAVE_SRC );
99 …like($warn, qr/UTF-16 surrogate.* at $script line /, "Warning from Encode::encode for UTF32-LE can…
105 Encode::encode( $enc, "\x{D800}", Encode::WARN_ON_ERR | Encode::LEAVE_SRC );
106 …like($warn, qr/UTF-16 surrogate.* at $script line /, "Warning from Encode::encode for UTF32-LE can…
113 …is($warn, undef, "Calling decode on UTF32-LE encode object with valid string produces no warnings"…
114 …is($ret, "a", "Calling decode on UTF32-LE encode object with valid string returns correct output");
121 …like($warn, qr/may not be portable.* at $script line /, "Calling decode on UTF32-LE encode object …
128 …is($warn, undef, "Warning from decode method of UTF32-LE encode object can be silenced via no warn…
135 …is($warn, undef, "Warning from decode method of UTF32-LE encode object can be silenced via no warn…
142 …be portable.* at $script line /, "Warning from decode method of UTF32-LE encode object cannot be s…
149 …be portable.* at $script line /, "Warning from decode method of UTF32-LE encode object cannot be s…