follow-up r86169 - 2 minor issues found while writing unit tests
authorBrian Wolff <bawolff@users.mediawiki.org>
Sun, 21 Aug 2011 17:16:57 +0000 (17:16 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Sun, 21 Aug 2011 17:16:57 +0000 (17:16 +0000)
commitb995e08cdf00d3b2f09585dd1424da6f317b857b
tree1d44d234f52060efd85eb682f2e8e8145bacba38
parent2d2d98e6eb30e4f863649dec6d4be3b74ec93612
follow-up r86169 - 2 minor issues found while writing unit tests

# Some really obscure Exif properties did not have the Exif byte order taken into account
  and were being extracted with the bytes reversed (for example user comment when encoded as utf-16).
  Not a major issue as these properties are very rare in practise, but certainly not a good thing.
  ( One would think php's exif support would take care of that, but no it does not...)
# Change the fallback encoding for Gif comments to be windows-1252 instead of iso 8859-1. More
  to be consitent with jpg and iptc then anything else.
includes/media/BitmapMetadataHandler.php
includes/media/Exif.php
includes/media/GIFMetadataExtractor.php
includes/media/JpegMetadataExtractor.php
includes/media/Tiff.php