You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand why and I am not able to reproduce this issue on our staging server (it happens on the production system). But maybe someone else has more knowledge about all this than me.
The problem happens while compiling a shopware theme and my solution is to change line 91 of the ParserState:
// from
return iconv('utf-32le', $this->sCharset, $sUtf32);
// to
mb_convert_encoding($sUtf32 , $this->sCharset , 'UTF-32LE');
It seems some versions of iconv can't convert UTF32LE to UTF-8, although the PHP and iconv version are the same on both my machines 🤷
Feel free to not accept the PR, for the moment I'll fix it with a composer-patch.
P.S. Thanks for your work! <3
The text was updated successfully, but these errors were encountered:
Schrank
changed the title
iconv(): Wrong charset, conversion from utf-32le' to utf-8' is not allowed
iconv(): Wrong charset, conversion from utf-32le to utf-8 is not allowed
Sep 22, 2021
I don't understand why and I am not able to reproduce this issue on our staging server (it happens on the production system). But maybe someone else has more knowledge about all this than me.
The problem happens while compiling a shopware theme and my solution is to change line 91 of the ParserState:
It seems some versions of iconv can't convert UTF32LE to UTF-8, although the PHP and iconv version are the same on both my machines 🤷
Feel free to not accept the PR, for the moment I'll fix it with a composer-patch.
P.S. Thanks for your work! <3
The text was updated successfully, but these errors were encountered: