Expanding on my earlier comment regarding the libunicode* packages:

They are included due to a single use of Unicode::Escape::unescape() in
the dh_sphinx script, to be able to decode Sphinx-generated URLs, as the
Python software uses the \uXXXX pattern to escape such characters, as
this escape pattern is the standard in the Python language and in JSON.
This change is the result of a relatively recent bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008504

That pattern is not very well supported in Perl, to the point that \u is
an escape sequence to titlecase the following character. As such, I was
only able to find 2 modules on CPAN that explicitly deal with those
escape pattern:

* https://metacpan.org/pod/Encode::Escape::Unicode
* https://metacpan.org/pod/Unicode::Escape

In addition, we could probably use the builtin decoder in one of the
various JSON modules (some of which are already in main), but that'd
require modifying the input string to make it legal JSON, which I'm a
bit reluctant to do.

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libunicode-string-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1972853

Title:
  [MIR] lib*-perl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libindirect-perl/+bug/1972853/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~pkg-perl-maintainers
Post to     : pkg-perl-maintainers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~pkg-perl-maintainers
More help   : https://help.launchpad.net/ListHelp

Reply via email to