summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Moor <tom.moor@gmail.com>2015-05-16 11:13:16 -0700
committerTom Moor <tom.moor@gmail.com>2015-05-16 11:13:16 -0700
commitc721859ea6e8feebb30da3839d1e170ddf1e8a41 (patch)
treeebaca86d5b58140e1e488113dcec97d91d7ccccc
parent7273a889fc337664415f35e8af0444f30a018411 (diff)
parent93193e619b484630af6776390f77cc39836200c7 (diff)
downloadfastimage-c721859ea6e8feebb30da3839d1e170ddf1e8a41.zip
fastimage-c721859ea6e8feebb30da3839d1e170ddf1e8a41.tar.gz
fastimage-c721859ea6e8feebb30da3839d1e170ddf1e8a41.tar.bz2
Merge pull request #3 from nicolas-grekas/master
fix #1
-rw-r--r--Fastimage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Fastimage.php b/Fastimage.php
index 2ed2f25..2f7f9b8 100644
--- a/Fastimage.php
+++ b/Fastimage.php
@@ -209,8 +209,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;
}