[TYPO3-dev] String Handling in Extensions

Steffen Kamper steffen at dislabs.de
Thu Apr 12 20:36:50 CEST 2007


"Ingo Renner" <typo3 at ingo-renner.com> schrieb im Newsbeitrag 
news:mailman.1.1176402192.13172.typo3-dev at lists.netfielders.de...
> Steffen Kamper wrote:
>
>> I looked in the core for an universal method, but didn't found a strict 
>> rule.
>> How should this be done ? mb-functions are not available on all systems, 
>> and there is a flag in installtool, iconv also, ...
>
> AFAIR there're some methods in csConv ...
>
> Ingo

Hi Ingo,

good hint, ty  - i didn't realized before.
There are functions in t3lib_cs like
substr
strlen
crop
etc.

So every input string should be handled with tis methods to be sure.
Additional question: Are the form values has to be handled same way ?

vg Steffen 






More information about the TYPO3-dev mailing list