Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/iconv/tests/eucjp2iso2022jp.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function hexdump($str) {
print "\n";
}

$str = str_repeat("鐃緒申鐃旬醐申謄鐃緒申鐃緒申箸鐃 English text", 30);
$str .= "鐃緒申鐃旬醐申";
$str = str_repeat("日本語テキストと English text", 30);
$str .= "日本語";

echo hexdump(iconv("EUC-JP", "ISO-2022-JP", $str));
?>
Expand Down
2 changes: 1 addition & 1 deletion ext/iconv/tests/iconv_mime_encode.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $preference = array(
for ($line_len= 0; $line_len < 80; ++$line_len) {
print "-------- line length=$line_len\n";
$preference["line-length"] = $line_len;
$result = iconv_mime_encode("From", "鐃緒申鐃緒申廛鐃淑醐申鐃緒申鵐汽鐃竣ワ申文鐃緒申鐃緒申鐃緒申鐃旬醐申謄鐃緒申鐃緒申鐃", $preference);
$result = iconv_mime_encode("From", "サンプル文字列サンプル文字列日本語テキスト", $preference);
var_dump($result);
if ($result !== false) {
$max = max(array_map("strlen", explode("\n", $result)));
Expand Down
Loading