Issue Bug Closed

#16803Call to undefined function: mb_internal_encoding() in tx_rtehtmlarea_pi1

Nikolas Hagelstein 12/21/06, 13:03 updated 10/02/18, 12:31

Description

htmlarea relys on mbstring which is not obligatory build into php.

(issue imported from #M4686)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 3

History 6

  1. Michael Stucki commented 12/21/06, 13:39

    I have attached a patch which uses the simple str_* functions instead of mb_*

    However we first need to clarify whether this will still work flawlessy…

  2. Stanislas Rolland commented 01/26/08, 07:43

    htmlArea RTE does not rely on mbstring, only the spell checker does. This is a documented requirement:
    http://typo3.org/documentation/document-library/extension-manuals/rtehtmlarea_manual/1.0.0/view/2/2/

  3. Stanislas Rolland commented 08/16/08, 20:42

    Attached patch removes dependency on mbstring. replaces mb_* operations with preg_*.

  4. Stanislas Rolland commented 08/16/08, 21:02

    Committed to SVN TYPO3core trunk revision 3982.

  5. Stanislas Rolland commented 08/19/08, 04:17

    Follow-up patch adds u modifier to preg_* operations when the encoding is utf-8.

    Also spell checker is removed when encoding is neither iso-8859-1 nor utf-8, because the spell checking script uses PHP xml parser which accepts only iso-8859-1 or uft-8 input.

    Committed to TYPO3core trunk revision 4001.

  6. Benni Mack changed status Resolved Closed 10/02/18, 12:31