Commit 02cb91e2 authored by stimpy's avatar stimpy

testing encoding backwards compatibility bugs

parent a75fd2d8
......@@ -217,7 +217,7 @@
if ( ( $iconv = @iconv( $chrs, 'UTF-8', $msg['SUBJECT'][0] ) ) !== false ) {
$msg['SUBJECT'][0] = $iconv;
} else {
$iconv = false;
$msg['SUBJECT'][0] = utf8_encode( $msg['SUBJECT'][0] );
}
}
//if ( $chrs != 'UTF-8' ) $msg['SUBJECT'][0] = iconv( $chrs, 'UTF-8', $msg['SUBJECT'][0] );
......@@ -284,7 +284,7 @@
if ( ( $iconv = @iconv( $chrs, 'UTF-8', $ret['text'] ) ) !== false ) {
$ret['text'] = $iconv;
} else {
$iconv = false;
$ret['text'] = utf8_encode( $ret['text'] );
}
}
//$ret['text'] = iconv( $chrs, 'UTF-8', fread( $fp, $ret['header']['txtlen'] ) );
......
......@@ -217,7 +217,7 @@
if ( ( $iconv = @iconv( $chrs, 'UTF-8', $msg['SUBJECT'][0] ) ) !== false ) {
$msg['SUBJECT'][0] = $iconv;
} else {
$iconv = false;
$msg['SUBJECT'][0] = utf8_encode( $msg['SUBJECT'][0] );
}
}
//if ( $chrs != 'UTF-8' ) $msg['SUBJECT'][0] = iconv( $chrs, 'UTF-8', $msg['SUBJECT'][0] );
......@@ -284,7 +284,7 @@
if ( ( $iconv = @iconv( $chrs, 'UTF-8', $ret['text'] ) ) !== false ) {
$ret['text'] = $iconv;
} else {
$iconv = false;
$ret['text'] = utf8_encode( $ret['text'] );
}
}
//$ret['text'] = iconv( $chrs, 'UTF-8', fread( $fp, $ret['header']['txtlen'] ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment