cancel
Showing results for 
Search instead for 
Did you mean: 

2.3.1/2.3.2.: "iconv_strlen Detected an illegal character in input string"

2.3.1/2.3.2.: "iconv_strlen Detected an illegal character in input string"

Hello,

i have a problem but only on 1 Server.

On my local Server and one installation at hosteurope, everything works with exact same installation.

On another Server (all-inkl.com) i got this error when it tests strings with german special chars (Ä, Ü etc)

Exception #0 (Exception): Notice: iconv_strlen(): Detected an illegal character in input string in /www/htdocs/magento/vendor/magento/zendframework1/library/Zend/Validate/StringLength.php on line 250

Has someone an idea what this can be? Database is the same, files are the same, language pack installed via composer, files match 100% (encoding, content).

Are there some requirements not checked in the setup, which need to run correctly?

 

Edit:
It seems the problem was a german character in de admin menu. So i use english there and translate it with i18

 

Regards,

Andreas

1 REPLY 1

Re: 2.3.1/2.3.2.: "iconv_strlen Detected an illegal character in input string"

We had the same problem. Try setting "default_charset" in your php config to "UTF-8".

 

With the hoster All-inkl (and many others) simply add to .htaccess:

php_value default_charset UTF-8