| 1 |
Source: libxml-um-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Ansgar Burchardt <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper (>= 11) |
| 8 |
Build-Depends-Indep: perl, |
| 9 |
libxml-encoding-perl |
| 10 |
Standards-Version: 4.1.5 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libxml-um-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libxml-um-perl.git |
| 13 |
Homepage: https://metacpan.org/release/XML-UM |
| 14 |
|
| 15 |
Package: libxml-um-perl |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends}, |
| 18 |
${perl:Depends}, |
| 19 |
libxml-encoding-perl |
| 20 |
Description: Perl module for converting UTF-8 strings |
| 21 |
The XML::UM module provides methods to convert UTF-8 strings to any XML |
| 22 |
encoding that XML::Encoding supports. It creates mapping routines |
| 23 |
from the .xml files that can be found in the maps/ directory in the |
| 24 |
XML::Encoding distribution. Note that the XML::Encoding distribution |
| 25 |
does install the .enc files in your perl directory, but not the.xml |
| 26 |
files they were created from. That's why you have to specify $ENCDIR |
| 27 |
as in the SYNOPSIS. |
| 28 |
. |
| 29 |
This implementation uses the XML::Encoding class to parse the .xml |
| 30 |
file and creates a hash that maps UTF-8 characters (each consisting |
| 31 |
of up to 4 bytes) to their equivalent byte sequence in the specified |
| 32 |
encoding. Note that large mappings may consume a lot of memory! |
| 33 |
. |
| 34 |
Future implementations may parse the .enc files directly, or do the |
| 35 |
conversions entirely in XS (i.e. C code). |