Hi,
That happens because you don't have the php extension "mb_string" that contains the "mb_detect_encoding" function.
We made a fix for next release, for those who doesn't have this extension. This will avoid getting this error, but does not ensure that the texts in documents will always be correctly displayed.