From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from acme.spoerlein.net (acme.spoerlein.net [88.198.49.12]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s1HBfel7015425 for ; Mon, 17 Feb 2014 06:41:43 -0500 (EST) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.7/8.14.7) with ESMTP id s1HBfamm030474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Feb 2014 12:41:38 +0100 (CET) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1392637298; bh=pfhIjMmOO7GtdsQrAcndBlHi6VBTnzjmzLwYdoKLi6M=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=nBeKLB863v99nQCj6eUQaBp3YMyM8934KZZQC6acmEipcvLoSwel9yo5VeZisjlzS TG+P6dC7RbNewAwm7GvOK/x6fnWx0gU3QbzSTq7FvbOuEVV4mv7DnMcvlszYD5N0N1 SWuc8yTKLvAggXQUxdWMbJqYe3q9BAsW+vp6mkzk= Date: Mon, 17 Feb 2014 12:41:36 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: discuss@mdocml.bsd.lv Cc: Thomas Klausner Subject: Re: FWD: man.conf mandoc -Tlocale Message-ID: <20140217114136.GE93008@acme.spoerlein.net> References: <20140214130647.GF20867@iris.usta.de> <20140215084309.GA14964@danbala.tuwien.ac.at> <20140215094251.GA24366@iris.usta.de> <20140216205655.GA18878@iris.usta.de> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140216205655.GA18878@iris.usta.de> User-Agent: Mutt/1.5.22 (2013-10-16) On Sun, 2014-02-16 at 21:56:55 +0100, Ingo Schwarze wrote: > So, we have these mappings: > > input output > ----- ASCII UTF-8 > ----- ----- > > - - - > \- - - > \(hy - U+2010 > \(en - U+2013 > \(em -- U+2014 > > See also these lines in chars.in: > > CHAR("-", "-", 45) > CHAR("hy", "-", 8208) > CHAR("en", "-", 8211) > CHAR("em", "--", 8212) > > So, unless people put \(hy, \(en, or \(em into their example code, > i would expect copy and paste to work just fine even in UTF-8 mode. I don't think hyphens will be the problem, but quotes, where people might have used .Dq when they actually want the literal ASCII quotes "" as they are to be used in some shell or other code. In any case, -Tlocale should be the default and is the right thing to do, IMHO. Cheers, Uli -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv