Fix for image manager issue caused by the new UTF8.php helper update.

Added check for length.