Feature #51219
closed
Autodetection for integrated charset-conversions
Added by Stefan Neufeind over 11 years ago.
Updated over 10 years ago.
Description
Currently t3lib_conv_method and t3lib_cs_utils needs to be specified in TYPO3_CONV_VARS. If not given, it defaults to "homemade PHP-code".
Add a proper autodetection so default-installations (no value set) become faster.
Files
Reading on the internet there is no clear preference for either mbstring or iconv. I've found a post where somebody mentioned mbstring was a lot faster for him, while others mentioned that iconv is more likely to be shipped with PHP out-of-the-box than mbstring because it is more portable.
Thus I'd propose as autodetection-order: mbstring, iconv, (recode,) internal
For PHP6 "ICU" will be used. This is also available in current PHP-installations with the "intl"-extension already. But TYPO3 doesn't yet have ICU-support. (separate feature we might consider)
- Status changed from New to Under Review
- Status changed from Under Review to Needs Feedback
Christian Kuhn mentioned that in 6.2 is supposed to work via a "preset"-autodetection in the installtool. I didn't so far verify this. But on that basis the patch so far was abandoned.
Till yet mbstring, iconv and internal is supported.
So can we close this issue?
Problem is/was that there was no autodetection and if the setting was not set it defaulted to slow, handcrafted PHP-code. Christian Kuhn said he wanted to do something different in this area for 6.2 - but I'm not sure what finally arrived in master now.
Yeah, should be done. The configuration presets in install tool can detect mbstring and iconv (prefer mbstring), so this configuration can be selected with 1 click. During installation, the "best" alternative is chosen automatically (mbstring if available).
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Stefan Neufeind)
Ok, so closing this issue as 6.2 is out and it works like Christian described.
Also available in: Atom
PDF