Project

General

Profile

Actions

Bug #18426

closed

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

Added by Martin Kutschker over 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-03-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions

Also available in: Atom PDF