Source: libunicode-truncate-perl
Section: perl
Priority: optional
Maintainer: mitch <mitch@freeside.biz>
Build-Depends: debhelper (>= 9),
 libtest-exception-perl,
 perl
Standards-Version: 3.9.8
Homepage: https://metacpan.org/release/Unicode-Truncate

Package: libunicode-truncate-perl
Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Description: unknown
 Unicode::Truncate is for truncating UTF-8 encoded Unicode text to particular
 byte lengths while inflicting the least amount of data corruption possible.
 The resulting truncated string will be no longer than your specified number
 of bytes (after UTF-8 encoding).
 .
 All truncated strings will continue to be valid UTF-8: it won't cut in the
 middle of a UTF-8 encoded code-point. Furthermore, if your text contains
 combining diacritical marks, this module will not cut in between a
 diacritical mark and the base character. It will in general try to preserve
 what users perceive as whole characters, with as little as possible
 mutilation at the truncation site.
 .
 The truncate_egc function truncates only between extended grapheme
 clusters|https://en.wikipedia.org/wiki/Universal_Character_Set_characters#Cha
 racters_grapheme_clusters_and_glyphs (as defined by Unicode
 TR29|http://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries version
 7.0.0).
 .
 The truncate_egc_inplace function is identical to truncate_egc except that
 the input string will be modified so that no copying occurs. If you pass in a
 read-only value it will throw an exception.
 .
 Eventually I'd like to support other boundaries such as words and sentences.
 Those functions will be named truncate_word and so on.
 .
 This description was automagically extracted from the module by dh-make-perl.
