[TYPO3-dev] Content-Length header wrong?
Ries van Twisk
typo3 at rvt.dds.nl
Thu May 18 14:09:36 CEST 2006
Dmitry Dulepov wrote:
>Hi!
>
>Ries van Twisk wrote:
>
>
>>the strlen function is not multibyte save... Try changing it to one of
>>the multi-byte save version.
>>
>>
>
>No, it will not work. Suppose, you have strlen("āāā"), it will return 6
>(because of two bytes per character) but mb_strlen("āāā") will return 3
>(so twice less than actual content length is).
>
>Dmitry.
>
>
Ofocurse... content length needs bytes, not characters.... my fault...
dhuuuuuu
Ries
More information about the TYPO3-dev
mailing list