Project

General

Profile

Actions

Bug #16803

closed

Call to undefined function: mb_internal_encoding() in tx_rtehtmlarea_pi1

Added by Nikolas Hagelstein almost 18 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-12-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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

(issue imported from #M4686)


Files

bug_4686.diff (3.5 KB) bug_4686.diff Administrator Admin, 2006-12-21 13:38
rtehtmlarea_feature_4686.patch (3.67 KB) rtehtmlarea_feature_4686.patch Administrator Admin, 2008-08-16 20:41
rtehtmlarea_feature_4686_2.patch (5.3 KB) rtehtmlarea_feature_4686_2.patch Administrator Admin, 2008-08-19 04:15
Actions #1

Updated by Michael Stucki almost 18 years ago

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...

Actions #2

Updated by Stanislas Rolland almost 17 years ago

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/

Actions #3

Updated by Stanislas Rolland over 16 years ago

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

Actions #4

Updated by Stanislas Rolland over 16 years ago

Committed to SVN TYPO3core trunk revision 3982.

Actions #5

Updated by Stanislas Rolland over 16 years ago

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.

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF