Page MenuHomePhabricator

phutil_utf8_shorten => PhutilUTF8StringTruncator
ClosedPublic

Authored by btrahan on Aug 29 2014, 9:34 PM.
Tags
None
Referenced Files
F18952457: D10392.id.diff
Wed, Nov 12, 5:59 AM
F18948465: D10392.diff
Tue, Nov 11, 11:17 PM
F18773610: D10392.id.diff
Oct 9 2025, 11:07 AM
F18767567: D10392.diff
Oct 7 2025, 11:15 PM
F18765559: D10392.id25011.diff
Oct 7 2025, 11:52 AM
F18650337: D10392.diff
Sep 21 2025, 12:20 AM
F18478297: D10392.id.diff
Sep 3 2025, 5:49 AM
F18462728: D10392.diff
Sep 1 2025, 11:04 PM
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).