[TYPO3-commerce] getSingleInputField "umlaut" bug

Falk Kühnel fk at cogitatio.de
Tue Dec 2 15:06:06 CET 2008


Hi

Shouldnt that be "UTF-8"?
 > $value = addslashes(htmlentities($fieldValue, ENT_COMPAT,'UTF-8'));

Best regards
Falk

Cedric Spindler schrieb:
> Hello everyone
>
> We found a bug in the method getSingleInputField of pi4.
>
> We have a clean UTF8 installation, everything is UTF8 (DB, HTML 
> defintition, content...) and working, but this function destroys the 
> special chars with this line:
>
> 552: $value = addslashes(htmlentities($fieldValue));
>
> We tried:
>
> 552: $value = addslashes(htmlentities($fieldValue, ENT_COMPAT,'UTF8'));
>
> but it didn't help.
>
> There is a patch at forge.typo3.org:
> http://forge.typo3.org/issues/show/1939
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>
>   



More information about the TYPO3-project-commerce mailing list