monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Issue 154 - Localized output of mtn manpage leads to co


From: code
Subject: [Monotone-devel] Issue 154 - Localized output of mtn manpage leads to corrputed characters (monotone)
Date: Tue, 22 Mar 2011 11:26:38 +0100 (CET)

Hello,

A new issue has been created and assigned
to you:

154 - Localized output of mtn manpage leads to corrputed characters
Project: monotone
Status: New
Reported by: Thomas Keller
Labels:
 Type:Incorrect Behavior
 Priority:Medium

Description:

Steps to reproduce the problem:
-------------------------------

Call `mtn manpage` or `mtn manpage | nroff -man` in a non-UTF8 and non-english 
locale.

Expected result:
----------------

Proper display of characters outside the ASCII range.


Actual results:
---------------

Single UTF8 bytes.


Output of `mtn version --full`:
-------------------------------

0.99.1


Note that this doesn't work either:

   `mtn manpage | nroff -man | less`
   `mtn manpage | nroff -Tutf8 -man | less`
   `LANG=de_DE.ISO-8859-1 mtn manpage`

but this does for some weird reason:

   `LANG=de_DE.ISO-8859-1 mtn manpage | nroff -man | less`


I think the problem is that nroff (groff actually) doesn't really notice that 
it should run in utf8 mode (this should be the default nowadays) and that it 
refuses to do so even if we tell him with -Tutf8 to do so explicitely.

--
Issue: https://code.monotone.ca/p/monotone/issues/154/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]