Skip to contentSkip to conversation

Drop UTF-8 characters in manual pages

PATCH In review Mike Hommey 3 participants 4 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drop UTF-8 characters in manual pages

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.

---
 Documentation/git-lost-found.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/git-lost-found.txt +1 -1
index e48607f..82b0699 100644
@@ -65,7 +65,7 @@ $ git rev-parse not-lost-anymore
 
 Author
 ------
-Written by Junio C Hamano 濱野 ç´” <[email protected]>
+Written by Junio C Hamano <[email protected]>
 
 Documentation
 --------------
Signature · 1 line
1.5.3.1
#1 lore raw
Quoted 1 line · Mike Hommey

The default character encoding for english manual pages is ISO8859-1,

On which distro?

Quoted 3 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.

#2 lore raw
Quoted 5 lines · Junio C Hamano
Quoted 1 line · Mike Hommey

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)

Quoted 6 lines
Quoted 3 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

#3 lore raw
In reply to Junio C Hamano
Quoted 8 lines · Junio C Hamano
Quoted 3 lines · Mike Hommey

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