Issue Feature Closed

#23039Better charset transformation by adding autodetection for [SYS][t3lib_cs_convMethod] and [SYS][t3lib_cs_utils]

Ralle Büchnitz 06/29/10, 15:32 updated 10/21/13, 14:32

Description

I created a patch, wich does the following:

  • auto detection of charset transformation method (function_exists())
  • sequence of detection is “mbstring” -> “iconv” -> “recode” -> default
    (as on page http://wiki.typo3.org/index.php/UTF-8_support this would mean the best solution)
  • results should be faster conversion and better handling of utf8 values as most users won’t set this option in installtool though most sites already use utf8

I also made ‘auto’ for both options the default option.
As the auto-value will be overwritten on first call. There is a minimal overhead while detecting the conversion method.

As mbstring-functions should be much faster than the fallback-methods, this would also bring (little) speed enhancement to TYPO3.

tested on php5.3 + apache + linux
(issue imported from #M14919)

Reviews 0

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