Right. I forgot about the utf-8 problem in  #783932. 
Sorry about that.

Turns out that the utf-8 issue comes from licensecheck 
(which is run under the hood by cme):

$ grep bar /tmp/main.h 
 *   Copyright (C) 2001-2010  Paul 'bar' Stevénsön                             *
$ licensecheck -m --copyright /tmp/main.h
/tmp/main.h     GPL (v2 or later)       2004-2015 Oliva 'f00' Oberto * / 
2001-2010 Paul 'bar' Stev�nsön *

I'll see what I can do with licensecheck (won't be the first time
that I hack this script).

This problem is not easy to solve as some source files are encoded in utf8, 
others
(mostly older files) are encoded in ISO.

The best bet is to use Encode::Guess to guess the encoding and force 
licensecheck 
to output the result in utf-8. Even though this solution is not bullet proof, 
it should work in
most cases.

All the best

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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to