git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/rfc] gitweb: open files (e.g. indextext.html) in utf8 mode

From
LWLea 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
Previous: Jakub Narebski
Message 3 of 3 in “gitweb: open files (e.g. indextext.html) in utf8 mode”
  1. gitweb: open files (e.g. indextext.html) in utf8 modeGerrit Pape, Jul 2, 2008
  2. Jakub NarebskiJul 2, 2008
  3. Lea WiemannJul 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.