Bug#825338: [licensecheck] Wide character in pattern match (m//) at /usr/bin/licensecheck line 531

Dominique Dumont dod at debian.org
Thu May 26 19:13:50 UTC 2016


On Thursday 26 May 2016 11:17:37 Jakub Wilk wrote:
> I get these warnings:
> 
> $ echo "‘moo’" > test

Note: these quote are utf-8 quotes (U+2018 and U+2019)

> $ LC_ALL=C licensecheck --encoding utf8 test
> Wide character (U+2018) in pattern match (m//) at /usr/bin/licensecheck line
> 531, <GEN0> line 1. Wide character (U+2018) in pattern match (m//) at

perldiag man page provides more information about the warning:

 Wide character (U+%X) in %s
           (W locale) While in a single-byte locale (i.e., a non-UTF-8 one), a 
multi-byte character was encountered.   Perl considers this character to be 
the specified Unicode code point.

Since LC_ALL=C is a non utf-8 locale, I kinda agree with Perl's diagnostic. 

I don't known what can be done to avoid the warning, or if something should be 
done.

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



More information about the devscripts-devel mailing list