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
I demand that Klaus Schmidinger may or may not have written...
> 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.
>> [ ...manpage_locale_independent.patch...]
> Just wondering: is there a particular reason why you left out these:
> --- vdr.1 2004/06/13 14:48:03 1.11
> +++ vdr.1 2004/12/18 12:26:25
> @@ -12,15 +12,15 @@
> [ ... ]
> -implements a complete digital Set-Top-Box and Video Recorder.
> -It can work with signals received from satellites (DVB-S) as
> -well as cable (DVB-C) and terrestrial (DVB-T) signals.
> +implements a complete digital Set\-Top\-Box and Video Recorder.
> +It can work with signals received from satellites (DVB\-S) as
> +well as cable (DVB\-C) and terrestrial (DVB\-T) signals.
Yes. It's only those which really must be literal '-'s which need to be
escaped. (BTW, "set-top box" is correct.)
> @@ -127,10 +127,10 @@
> .TP
> .B 1
> An error has been detected which requires the DVB driver and \fBvdr\fR
> -to be re-loaded.
> +to be re\-loaded.
*That* hyphen should be removed.
[snip]
> I guess a simple "change all '-' to '\-'" should be ok, shouldn't it?
No. Normal practice is to use '\-' only where ASCII '-' is required and '-'
where a hyphen is required. (I'm not sure what to do where a minus sign is
required, though: Unicode uses code point 0x2012 for this. Presumably
there's a *roff macro for it.)
--
| Darren Salt | d youmustbejoking,demon,co,uk | nr. Ashington,
| Debian, | s zap,tartarus,org | Northumberland
| RISC OS | @ | Toon Army
| Let's keep the pound sterling
Look, sir! 'Droids!
Home |
Main Index |
Thread Index