[BUGFIX] Remove dependency to iconv lib in form
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 14 Nov 2012 23:49:15 +0000 (00:49 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 14 Nov 2012 23:51:27 +0000 (00:51 +0100)
commit198cf8608ca83dd5ec78e069dc75e079cbad1042
tree6d90adef156bc4d5e59f8c81a744076c3961efba
parent637eb35edb3ccf0a8a3ec9d689a111d819c97776
[BUGFIX] Remove dependency to iconv lib in form

The form extension uses iconv_strlen to determine
the string length, which fails when this method
is not present in PHP.

Use the CharsetConverter class instead.

Fixes: #42990
Releases: 6.0

Change-Id: Ibf7e82c85bd808f036c7d0715f55d6f1f9e5b8d5
Reviewed-on: http://review.typo3.org/16449
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/form/Classes/Validation/AbstractValidator.php
typo3/sysext/form/Classes/Validation/LengthValidator.php
typo3/sysext/form/Tests/Unit/Validation/LengthValidatorTest.php