From: "Füzesi Zoltán" <zfuzesi@eaglet.hu>
To: Jakub Narebski <jnareb@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH/RFC] gitweb: parse_commit_text encoding fix
Date: Sat, 1 Aug 2009 18:55:34 +0200 [thread overview]
Message-ID: <9ab80d150908010955l3710c54bp9e2716570fd1d5ed@mail.gmail.com> (raw)
In-Reply-To: <m3r5vvris1.fsf@localhost.localdomain>
2009/8/1 Jakub Narebski <jnareb@gmail.com>:
>
> Thanks.
>
>
> Still, I do wonder if it would be possible to simply do the following:
>
> -binmode STDOUT, ':utf8';
> +use open qw(:std :utf8);
>
> ...but it unfortunately doesn't work. It was tried in
> http://thread.gmane.org/gmane.comp.version-control.git/87129/focus=87135
>
> to_utf8() has at least (possible) fallback if it encounters characters
> outside of UTF-8 coding.
>
The following 2 changes in my patch are unnecessary, but please
confirm (I'm not familiar with perl (yet)):
- $co{'author_name'} = $1;
+ $co{'author_name'} = to_utf8($1);
- $co{'committer_name'} = $1;
+ $co{'committer_name'} = to_utf8($1);
BR,
Zé
next prev parent reply other threads:[~2009-08-01 16:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-01 8:28 [PATCH/RFC] gitweb: parse_commit_text encoding fix Zoltán Füzesi
2009-08-01 9:21 ` Jakub Narebski
2009-08-01 16:55 ` Füzesi Zoltán [this message]
2009-08-02 7:42 ` [PATCH] " Zoltán Füzesi
2009-08-04 6:59 ` Junio C Hamano
2009-08-06 8:15 ` Zoltán Füzesi
2009-08-07 20:31 ` Jakub Narebski
2009-08-07 0:41 ` Jakub Narebski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9ab80d150908010955l3710c54bp9e2716570fd1d5ed@mail.gmail.com \
--to=zfuzesi@eaglet.hu \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).