Re: [PATCH/rfc] gitweb: open files (e.g. indextext.html) in utf8 mode
- From
- Lea Wiemann <lewiemann@gmail.com>
- Date
- Jul 3, 2008, 09:39 UTC
- Message-ID
- <486C9E5A.9@gmail.com>
- In-Reply-To
- <m3prpwflus.fsf@localhost.localdomain>
Jakub Narebski wrote:
> Second, what is minimal Perl version and Perl configuration (installed > modules) that support "use open qw(:std :utf8);"?
open is in core (-> corelist), and "qw(:std :utf)" works here with Perl 5.8.8. Perl 5.6 doesn't have it, but gitweb doesn't support Perl 5.6 anyway (e.g. "binmode STDOUT, ':utf8';" doesn't work with Perl 5.6). So it should be fine compatibility-wise.
-- Lea