Date: Sun, 3 Jan 2010 11:03:01 -0600 (CST) From: "Sean C. Farley" <scf@FreeBSD.org> To: =?ISO-8859-15?Q?Ulrich_Sp=F6rlein?= <uqs@spoerlein.net> Cc: freebsd-stable@FreeBSD.org, freebsd-i18n@FreeBSD.org Subject: Re: UTF-8 problem in 8.0 Message-ID: <alpine.BSF.2.00.1001031048060.5267@thor.farley.org> In-Reply-To: <20100103013832.GL3508@acme.spoerlein.net> References: <1112548880.20100101154736@takeda.tk> <20100103013832.GL3508@acme.spoerlein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --56599777-1090201092-1262538182=:5267 Content-Type: TEXT/PLAIN; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 3 Jan 2010, Ulrich Spörlein wrote: > On Fri, 01.01.2010 at 15:47:36 -0800, Derek Kulinski wrote: >> Hello, >> >> After installing FreeBSD 8.0 I noticed that some characters aren't >> displayed correctly (it worked fine for 7.2). >> >> Mainly the dash character is most noticeable (though it's possible >> it's more of them). >> >> Example: >> env LANG=C man sh >> env LANG=pl_PL.UTF-8 man sh >> env LANG=en_US.UTF-8 man sh >> >> The first command shows everything fine, the later two seem to show >> some unprintable character in place of every dash (i.e. in the second >> paragraph word "built-in", or the dashes that break up the words at >> the end of the line) > > me too, though I'm only setting LC_CTYPE to de_DE.UTF-8 and I don't > always see it. It must be some combination of xterm/ssh and/or putty > that breaks this. > > On the other hand, I thought there was a commit done, that would > render - (the dash) always as - (0x2d) so you can copy&paste the > examples from the manpage into your shell. > > But perhaps I was just dreaming this up? The last commit that I recall (r192561) fixed dashes in front of options (.Fl macro) but not dashes present within a man page. Personally, I just create an alias for man to call 'LANG=C man' to protect against examples with non-ASCII (U+002D) dashes. Read the commit message[1] for a better explanation of unresolved issues. Sean 1. http://svn.freebsd.org/viewvc/base?view=revision&revision=192561 -- scf@FreeBSD.org --56599777-1090201092-1262538182=:5267--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1001031048060.5267>