]> granicus.if.org Git - php/commitdiff
-fix test results
authorMarcus Boerger <helly@php.net>
Sun, 23 Jun 2002 00:38:25 +0000 (00:38 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 23 Jun 2002 00:38:25 +0000 (00:38 +0000)
ext/exif/tests/003.phpt

index e2d069a451fbea30acb5df35e6e4598ff0f1d59e..0eee93a2faa811adc88dbe0405ecad8a8aebc27e 100644 (file)
@@ -12,7 +12,9 @@ Check for exif_read_data, Unicode user comment
             copy of test1.jpg as a thumbnail.
   test3.jpg is the same as test2.jpg but with a UNICODE UserComment: &Auml;&Ouml;&&Uuml;&szlig;&auml;&ouml;&uuml;
 */
-ini_alter('exif.encode_unicode', 'ISO-8859-15'); \r
+chdir($_ENV['PHP_DIR']);
+ini_alter('exif.decode_unicode_motorola', 'UCS-2BE'); 
+ini_alter('exif.encode_unicode', 'ISO-8859-15'); 
 $image  = exif_read_data('./ext/exif/tests/test3.jpg','',true,false);
 $accept = '';
 foreach($image as $idx=>$section) {
@@ -27,4 +29,4 @@ foreach($image as $idx=>$section) {
 echo $accept;
 ?>
 --EXPECT--
-ArrayFitest3.jpgFi1237Fi2SeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1" height="1"He1Wi1Is1By1UsÄÖÜßäöüUsUNICODECoPhoto (c) M.Boerger, Edited by M.Boerger.CoPhoto (c) M.BoergerCoEdited by M.Boerger.ArrayCoPhoto (c) M.BoergerUsUNICODEArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file
+ArrayFitest3.jpgFi1237Fi2Miimage/jpegSeANY_TAG, IFD0, THUMBNAIL, COMMENTArrayhtwidth="1" height="1"He1Wi1Is1By1UsÄÖÜßäöüUsUNICODECoPhoto (c) M.Boerger, Edited by M.Boerger.CoPhoto (c) M.BoergerCoEdited by M.Boerger.Th2Thimage/jpegArrayCoPhoto (c) M.BoergerUsUNICODEArrayJP134JP523Array0Comment #1.1Comment #2.2Comment #3end
\ No newline at end of file