On Freitag, 30. Dezember 2016 07:41:00 CET Simon Josefsson wrote:
> Den Thu, 29 Dec 2016 11:57:32 +0100
> 
> skrev Re: libidn2: ChangeLog, bootstrap:
> > On Donnerstag, 29. Dezember 2016 10:36:10 CET Simon Josefsson wrote:
> > > Tim Ruehsen <tim.rueh...@gmx.de> writes:
> > > > - git2cl mangles non-ASCII characters (e.g. my family name)
> > > 
> > > It looks fine here:
> > > 
> > > 2016-12-28  Tim Rühsen <tim.rueh...@gmx.de>
> > > 
> > >         * Makefile.am, gentr46map.c: Remove doublettes from TR46
> > > 
> > > mapping data
> > 
> > Because your locale charset is iso-8859-... !?
> > 
> > Here it looks like
> > 2016-12-25  Tim R�hsen <tim.rueh...@gmx.de>
> > 
> >         * debian/control: Add Tim Rühsen to Uploaders
> > 
> > Which is a typical conversion problem from iso to utf-8.
> > Interestingly, the commit message is ok.
> 
> Strange -- can you debug this further?  I'm using a UTF-8 locale.  The
> ChangeLog in the distribution is fine, right?  So something on your
> system (or a bug in git2cl) is causing this.
> 
> jas@latte:~/src/libidn2$ locale
> LANG=sv_SE.utf8
> LANGUAGE=
> LC_CTYPE="sv_SE.utf8"
> LC_NUMERIC="sv_SE.utf8"
> LC_TIME="sv_SE.utf8"
> LC_COLLATE="sv_SE.utf8"
> LC_MONETARY="sv_SE.utf8"
> LC_MESSAGES="sv_SE.utf8"
> LC_PAPER="sv_SE.utf8"
> LC_NAME="sv_SE.utf8"
> LC_ADDRESS="sv_SE.utf8"
> LC_TELEPHONE="sv_SE.utf8"
> LC_MEASUREMENT="sv_SE.utf8"
> LC_IDENTIFICATION="sv_SE.utf8"
> LC_ALL=
> jas@latte:~/src/libidn2$

It is the line
print (strftime "%Y-%m-%d  $author\n\n", @date);

strftime() is mangling utf-8 strings.

I abandoned Perl a long time ago, so I can't help to fix it. But here is a link 
with someone having exactly the same problem (solved):
http://www.perlmonks.org/?node_id=857018

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Help-libidn mailing list
Help-libidn@gnu.org
https://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to