Mailing List archive

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

[vdr] Re: [PATCH] vdr.1, vdr.5 and UTF-8



On Wed, Dec 08, 2004 at 07:11:49PM +0100, Klaus Schmidinger wrote:
> Darren Salt wrote:
> >Even if vdr doesn't get along with UTF-8 locales, there's no reason why the
> >man pages shouldn't be properly displayable in them. The attached patch 
> >fixes
> >this by escaping hyphens in option names and replacing non-ASCII characters
> >with equivalent macros.
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >diff -urNad vdr-1.3.15/vdr.1 /tmp/dpep.0MmCue/vdr-1.3.15/vdr.1
> >--- vdr-1.3.15/vdr.1	2004-11-02 01:43:41.000000000 +0000
> >+++ /tmp/dpep.0MmCue/vdr-1.3.15/vdr.1	2004-11-02 01:43:41.000000000 +0000
> >@@ -12,7 +12,7 @@
> > .\"
> > .TH vdr 1 "1 June 2003" "1.2.0" "Video Disk Recorder"
> > .SH NAME
> >-vdr - the Video Disk Recorder
> >+vdr \- the Video Disk Recorder
> > ...
> >-\fBDescription.ger = Blautöne\fR
> >+\fBDescription.ger = Blaut\(:one\fR
> 
> I can see why the umlaut ('ö') might be a problem and will replace it with
> "oe". But what in the world is wrong with a simple '-'??? This _is_ a 7-bit
> ASCII character, after all!

Manual pages should _never_ use `-' without `\' ... not only for
UTF-8 ... but for the roff interpreters.

         Werner

-- 
AC3 loop through sound card http://bitstreamout.sourceforge.net/
Howto http://www.vdr-portal.de/board/thread.php?threadid=1958
------------------------------------------------------------------
 "Having a smoking section in a restaurant is like having
         a  peeing section in a swimming pool." -- Edward Burr




Home | Main Index | Thread Index