Symfony does not require mbstring to be installed. So, this should only be done if it is available (this is already done in many other places in the framework).