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 #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Martin Kutschker)
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF