Bug#839593: cme: support (or switch to) UTF-8 encoding

gregor herrmann gregoa at debian.org
Tue Oct 4 20:39:50 UTC 2016


On Tue, 04 Oct 2016 10:20:40 +0200, Dominique Dumont wrote:

> > % cme modify dpkg-control 'source Uploaders:.insort("María Prueba
> > <m at example.org>")'
> > 
> > and
> > 
> > % perl -MConfig::Model=cme -e 'cme("dpkg-control")->modify("source
> > Uploaders:.insort(\"María Prueba <m\@example.org>\")");'
> > 
> > result in a broken 'í', which gets mangled into 'Ã', probably because
> > perl's default encoding is still latin1.
> 
> You're right.
> 
> According to perlrun(1), you can run also cme this way :
> $ perl -C A -S cme modify dpkg-control '...'

Ack.
 
> I'll tweak cme upstream to assume that @ARGV is utf8. I'll assume that 
> everybody use utf8 (even outside of Debian) until a bug report proves me 
> wrong.

Thanks, sounds good to me.
 
> There's nothing I can do with the 2nd form you propose. Even with a one-liner, 
> you writing a script and you have to inform perl that you are using utf8 in 
> the script.

Sure, I just wanted to try a different option :)


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Tom Waits: Swordfish Trombone
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161004/03626743/attachment.sig>


More information about the pkg-perl-maintainers mailing list