iconv_strlen() の例外

テストコードを実行したら、以下のような例外が発生した。

iconv_strlen(): Wrong charset, conversion from `'UTF-8'' to `UCS-4LE' is not allowed

該当箇所を見ると、Zend_Validate_StringLength の isValid() 内の iconv_strlen() で出てた。
調べてみると、Zend_Validate_StringLength のコンストラクタに $encoding = null とあるので、'utf-8' を指定すると解消される