help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libidn2: ChangeLog, bootstrap


From: Tim Rühsen
Subject: Re: libidn2: ChangeLog, bootstrap
Date: Fri, 30 Dec 2016 16:53:33 +0100
User-agent: KMail/5.2.3 (Linux/4.8.0-2-amd64; KDE/5.28.0; x86_64; ; )

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 <address@hidden> writes:
> > > > - git2cl mangles non-ASCII characters (e.g. my family name)
> > > 
> > > It looks fine here:
> > > 
> > > 2016-12-28  Tim Rühsen <address@hidden>
> > > 
> > >         * 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 <address@hidden>
> > 
> >         * 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.
> 
> address@hidden:~/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=
> address@hidden:~/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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]