neitanod/forceutf8 — pull request #18 by jpirkey (2014-04-02 17:17:15+00:00)
Title: Fix issue where truncation or infinite loop might occur.

Text is truncated when calling Encoding::fixUTF8 if mb_strlen is overloading strlen. This is because mb_strlen returns the char length instead of the byte length of the string.