Page MenuHomePhabricator

phutil_utf8_shorten => PhutilUTF8StringTruncator
ClosedPublic

Authored by btrahan on Aug 29 2014, 9:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 25, 8:29 PM
Unknown Object (File)
Tue, May 20, 6:57 AM
Unknown Object (File)
Mon, May 19, 11:30 PM
Unknown Object (File)
Mon, May 19, 8:25 AM
Unknown Object (File)
Fri, May 9, 1:21 PM
Unknown Object (File)
Fri, May 9, 1:21 PM
Unknown Object (File)
Apr 28 2025, 3:00 AM
Unknown Object (File)
Apr 28 2025, 2:12 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).