Make the ban manager multi-byte string friendly.
Improved the Output::prepareHTML truncate functionality.