opencart/opencart — pull request #1313 by joshhartman (2014-04-06 22:35:08+00:00)
Title: fix $length default in utf8_substr functions, set iconv internal encoding

- fixes utf8_substr so that it doesn't return empty strings when there is no length specified
- set iconv internal_encoding when using iconv
- removed explicit set of encoding on mb_strpos because already set by mb_internal encoding
- fixing utf8_substr fixes blank image thumbnails in image manager