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

Steffen Gebert steffen at steffen-gebert.de
Tue Jun 29 19:23:29 CEST 2010


Am 29.06.2010, 17:20 Uhr, schrieb Ralf Büchner <rb at halbach-media.de>:

> Type: New feature
> http://bugs.typo3.org/view.php?id=14919
>
> Branches:
> TYPO3_4-4 & trunk
trunk only, as new features can only go to 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())

Hi Ralf,

thanks for your contribution!

In principle, I like the idea.

But IMHO it's not perfect because of two points:
* it modifies the value of $TYPO3_CONF_VARS settings
* it's called for every call of substr()

Attached a modified patch, which is not tested at all. Could you review  
it, please?

It only executes the autodetection, if no value for [SYS][t3lib_cs_utils]  
is set.

Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14919_v2.diff
Type: text/x-diff
Size: 5841 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100629/0e505767/attachment-0001.diff>


More information about the TYPO3-team-core mailing list