WordPress.org

Make WordPress Core

Ticket #14882: 14882.patch

File 14882.patch, 447 bytes (added by hakre, 8 years ago)
  • wp-includes/pomo/streams.php

     
    106106class POMO_FileReader extends POMO_Reader {
    107107        function POMO_FileReader($filename) {
    108108                parent::POMO_Reader();
    109                 $this->_f = fopen($filename, 'r');
     109                $this->_f = fopen($filename, 'rb');
    110110        }
    111111
    112112        function read($bytes) {