Homec4science

Provide a (mostly) utf-8 aware, smart shorten function

Authored by epriestley <git@epriestley.com> on Jun 30 2011, 17:41.

Description

Provide a (mostly) utf-8 aware, smart shorten function

Summary: See T234. In D477 we introduced a textWrap() function that isn't UTF-8
aware; provide one that is.
Test Plan: Ran unit tests.
Reviewed By: cadamo
Reviewers: cadamo, jungejason, tuomaspelkonen, aran
CC: aran, cadamo
Differential Revision: 559

Details

Committed
epriestley <git@epriestley.com>Jul 3 2011, 21:17
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU58f00b9b82f7: Fix incorrect call to json_encode()
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUcb145f0b12f9: Provide a (mostly) utf-8 aware, smart shorten function (authored by epriestley <git@epriestley.com>).Jul 3 2011, 21:17