[TYPO3-core] RFC #12230: Bug: Function tslib_cObj::crop() is not fully multibyte safe

Vladimir Podkovanov podkovanov at gmail.com
Wed Feb 9 08:45:39 CET 2011


Hi Christian!

On 09.02.2011 1:02, Christian Kuhn wrote:
> Hey,
>
> On 01/31/2011 07:54 PM, Vladimir Podkovanov wrote:
>> Changed condition a little, attached ver.3
>
> Would you like to come up with a TS snipped on how to reproduce a
> problem and which settings are required to reproduce? I'm unable to
> construct a problem with some trivial setups like the one below, it
> seems to cut at the correct place. (I have no idea about the meaning of
> the test text. ;)
>
> page = PAGE
> page.10 = TEXT
> page.10.value = поноса и ненавист
> page.10.crop = 16

it should be like this
page = PAGE
page.10 = TEXT
page.10.value = блаблаблаблабла
page.10.crop = 16 | ...

and '...' afterstring appended though string was not cropped because 
length have been incorrectly calculated.

-- 
-rgds-
Vladimir


More information about the TYPO3-team-core mailing list