[TYPO3-core] RFC #14919: New feature: Better charset transformation by adding autodetection

Ralf Büchner rb at halbach-media.de
Tue Jun 29 17:20:04 CEST 2010


This is an SVN patch request.

 

Type: New feature

 

Bugtracker references:

http://bugs.typo3.org/view.php?id= 14919 

 

Branches:

TYPO3_4-4 & trunk

 

Problem:

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

 

Solution:

* auto detection of charset transformation method (function_exists())

 

 

Notes:

* 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 only a minimal overhead while
detecting the conversion method for the very first time.)

 

 

User: Qitec

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100629/73316b77/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014919 .diff
Type: application/octet-stream
Size: 8004 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100629/73316b77/attachment.obj>


More information about the TYPO3-team-core mailing list