[TYPO3-dev] String Handling in Extensions

Steffen Kamper steffen at dislabs.de
Thu Apr 12 19:42:16 CEST 2007


Hi,

like the header sais, an easy question:
As T3 is used in multilanguage environment, it can be dangerous to use 
string functions like
substr, strlen, strtoupper, ...
because they get wrong results with multibyte strings.

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, ...

Thinking about a normal simple problem now confuses me :-)

How do you handle this ?

vg  Steffen






More information about the TYPO3-dev mailing list