MantisBT: master 47a44b35

Author Committer Branch Timestamp Parent
dregad dregad master 2023-04-12 13:32 master a0bab079
Affected Issues  0032385: Incorrect use of mb_strimwidth() to truncate old/new values in history API
Changeset

New string_truncate() API function

Truncate a string to the specified length, optionally appending a
marker. This is intended to replace mb_strimwidth() calls when the
truncation should be driven by the string's length and not its width.

Issue 0032385

mod - core/string_api.php Diff File