diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2014-03-18 08:55:16 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2014-03-18 08:55:16 +0100 |
commit | 93193e619b484630af6776390f77cc39836200c7 (patch) | |
tree | 55e399bf41df4c54ca116ec2248f00c7a36e96e5 | |
parent | 5c57f515cf161aa6768c0e736a2c05c162a5728a (diff) | |
download | fastimage-93193e619b484630af6776390f77cc39836200c7.zip fastimage-93193e619b484630af6776390f77cc39836200c7.tar.gz fastimage-93193e619b484630af6776390f77cc39836200c7.tar.bz2 |
fix #1
-rw-r--r-- | Fastimage.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Fastimage.php b/Fastimage.php index 1db470e..dc42188 100644 --- a/Fastimage.php +++ b/Fastimage.php @@ -211,8 +211,7 @@ class FastImage $result = substr($this->str, $this->strpos, $n); $this->strpos += $n; - // we are dealing with bytes here, so force the encoding - return mb_convert_encoding($result, "8BIT"); + return $result; } @@ -237,4 +236,4 @@ class FastImage { $this->close(); } -}
\ No newline at end of file +} |