./textproc/p5-Encode-Detect, Perl module that detects the encoding of data

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.01nb13, Package name: p5-Encode-Detect-1.01nb13, Maintainer: pkgsrc-users

This Perl module is an Encode::Encoding subclass that uses
Encode::Detect::Detector to determine the charset of the input data and
then decodes it using the encoder of the detected charset.

It is similar to Encode::Guess, but does not require the configuration
of a set of expected encodings. Like Encode::Guess, it only supports
decoding--it cannot encode.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Module-Build] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: c2285d5b0678ceeb93508ee09d30386a59053c08
RMD160: 30264410aa80ea030932b8c310b117d4acf25cbe
Filesize: 175.486 KB

Version history: (Expand)


CVS history: (Expand)


   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631) | Package updated
Log message:
*: bump PKGREVISION for perl-5.32.
   2020-03-24 06:51:19 by Roland Illig | Files touched by this commit (1)
Log message:
textproc/p5-Encode-Detect: document that the bug has been reported
   2020-03-24 06:49:40 by Roland Illig | Files touched by this commit (1)
Log message:
textproc/p5-Encode-Detect: fix 'array subscript has type char' errors

In file included from src/JpCntx.cpp:39:0:
src/JpCntx.h: In member function 'void \ 
JapaneseContextAnalysis::HandleOneChar(const char*, PRUint32)':
src/JpCntx.h:72:55: error: array subscript has type 'char' [-Werror=char-subscripts]
       mRelSample[jp2CharContext[mLastCharOrder][order]]++;
                                                       ^
src/JpCntx.cpp: In member function 'void \ 
JapaneseContextAnalysis::HandleData(const char*, PRUint32)':
src/JpCntx.cpp:164:57: error: array subscript has type 'char' \ 
[-Werror=char-subscripts]
         mRelSample[jp2CharContext[mLastCharOrder][order]]++;
                                                         ^

The mentioned char arrays only contain small nonnegative numbers,
therefore their exact data type doesn't matter. It is now unsigned char.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0