threads / patch / 9909

patchDrop UTF-8 characters in manual pages

Subject: [PATCH] Drop UTF-8 characters in manual pages

## tl;dr

4 messages between Sep 18, 2007 and Sep 20, 2007. Diffs are folded; open one to read it.

replies: 3people: 3as markdown or json

Mike Hommey· Sep 18, 2007, 07:26 UTC · lore

The default character encoding for english manual pages is ISO8859-1, so UTF-8 characters are just displayed as their sequence of bytes, which is not very appealing.

Signed-off-by: Mike Hommey <mh@glandium.org>
---
 Documentation/git-lost-found.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Documentation/git-lost-found.txt +1 −1
diff --git a/Documentation/git-lost-found.txt b/Documentation/git-lost-found.txt
index e48607f..82b0699 100644
--- a/Documentation/git-lost-found.txt
+++ b/Documentation/git-lost-found.txt
@@ -65,7 +65,7 @@ $ git rev-parse not-lost-anymore
 
 Author
 ------
-Written by Junio C Hamano 濱野 純 <junkio@cox.net>
+Written by Junio C Hamano <junkio@cox.net>
 
 Documentation
 --------------
-- 
1.5.3.1
Junio C Hamano· Sep 18, 2007, 09:15 UTC · re: Mike Hommey · lore

Re: [PATCH] Drop UTF-8 characters in manual pages

Mike Hommey <mh@glandium.org> writes:
> The default character encoding for english manual pages is ISO8859-1,
On which distro?
> so
> UTF-8 characters are just displayed as their sequence of bytes, which is
> not very appealing.

Perhaps not. I cannot decide what to do with Documentation/git-pack-redundant.txt, though.

Mike Hommey· Sep 18, 2007, 09:34 UTC · re: Junio C Hamano · lore

Re: [PATCH] Drop UTF-8 characters in manual pages

On Tue, Sep 18, 2007 at 02:15:35AM -0700, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> Mike Hommey <mh@glandium.org> writes:
> 
> > The default character encoding for english manual pages is ISO8859-1,
> 
> On which distro?

Debian, at least, though transition to UTF-8 manpages is going to happen (it seems there was a lack of proper encoding handling in man-db until very recently)

Show 6 quoted lines
> > so
> > UTF-8 characters are just displayed as their sequence of bytes, which is
> > not very appealing.
> 
> Perhaps not.  I cannot decide what to do with
> Documentation/git-pack-redundant.txt, though.
I'd say just use a transliterated form until man-db mess is sorted out.
Mike
Lukas Sandström· Sep 20, 2007, 09:08 UTC · re: Junio C Hamano · lore

Re: [PATCH] Drop UTF-8 characters in manual pages

Junio C Hamano wrote:
Show 8 quoted lines
> Mike Hommey <mh@glandium.org> writes:
>> so
>> UTF-8 characters are just displayed as their sequence of bytes, which is
>> not very appealing.
> 
> Perhaps not.  I cannot decide what to do with
> Documentation/git-pack-redundant.txt, though.
> 

These days when we have delta reusing and repacking is quite cheap, I'd say just drop pack-redundant and its man page completely.

Of course, some pople might still be using it, but I haven't felt the need for it in over a year.

/Lukas Sandström

← back to recent threads