Project

General

Profile

Actions

Feature #23039

closed

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

Added by Ralle Büchnitz over 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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)


Files

0014919 .diff (7.83 KB) 0014919 .diff Administrator Admin, 2010-06-29 15:33
Actions

Also available in: Atom PDF