Page MenuHomePhabricator

phutil_utf8_shorten => PhutilUTF8StringTruncator
ClosedPublic

Authored by btrahan on Aug 29 2014, 9:34 PM.
Tags
None
Referenced Files
F19510622: D10392.id.diff
Sun, Jan 11, 12:44 PM
F19510618: D10392.id.diff
Sun, Jan 11, 12:41 PM
F19510609: D10392.id.diff
Sun, Jan 11, 12:36 PM
F19510604: D10392.id.diff
Sun, Jan 11, 12:32 PM
F19238096: D10392.diff
Sun, Dec 21, 7:59 PM
F18952457: D10392.id.diff
Nov 12 2025, 5:59 AM
F18948465: D10392.diff
Nov 11 2025, 11:17 PM
F18773610: D10392.id.diff
Oct 9 2025, 11:07 AM
Subscribers

Details

Summary

Ref T3307. Only one I thought was tricky was Excel; I went with bytes there like it was email.

Test Plan

played around on a few endpoints but mostly thought carefully

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan retitled this revision from to phutil_utf8_shorten => PhutilUTF8StringTruncator.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

Cool, these look good to me. I think bytes is reasonable for Excel.

src/applications/herald/storage/transcript/HeraldObjectTranscript.php
55

Missing "PhutilUTF8StringTruncator has"?

This revision is now accepted and ready to land.Aug 29 2014, 9:58 PM
btrahan updated this revision to Diff 25011.

Closed by commit rPb93bc7e47947 (authored by @btrahan).