Issue Bug Closed

#18426t3lib_cs doesn't use mb_strimwidth() for crop()

Martin Kutschker 03/11/08, 18:22 updated 09/09/13, 08:53

Description

When mbstring is configured t3lib_cs could use mb_strimwidth() instead of the PHP implementation.

It has to be checked if this function works on characters or on character widths. Background: in CJK Latin (and other) characters are half-width, Asian characters are full-width. mbstring counters the former with a width of 1 and the latter with a width of 2.
(issue imported from #M7828)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.