Makes sense. Then you need to provide a fallback such as this one:

https://github.com/yiisoft/yii/blob/1e3a178d76e090c66614af06ad661e1804a98081/framework/validators/CStringValidator.php#L91

It's not required in Yii2 anymore but for 1.1 we're not requiring `mbstring` to be installed.