Name : perl-Encode-DoubleEncodedUTF8
| |
Version : 0.05
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.9.1
| Date : 2023-07-20 15:52:19
|
Group : Development/Libraries/Perl
| Source RPM : perl-Encode-DoubleEncodedUTF8-0.05-lp155.9.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Fix double encoded UTF-8 bytes to the correct one
|
Description :
Encode::DoubleEncodedUTF8 adds a new encoding \'utf-8-de\' and fixes double encoded utf-8 bytes found in the original bytes to the correct Unicode entity.
The double encoded utf-8 frequently happens when strings with UTF-8 flag and without are concatenated, for instance:
my $string = \"L\\x{e9}on\"; # latin-1 utf8::upgrade($string); my $bytes = \"L\\xc3\\xa9on\"; # utf-8
my $dodgy_utf8 = encode_utf8($string . \" \" . $bytes); # $bytes is now double encoded
my $fixed = decode(\"utf-8-de\", $dodgy_utf8); # \"L\\x{e9}on L\\x{e9}on\";
See encoding::warnings for more details.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-E/15.5/noarch |