From owner-freebsd-stable@FreeBSD.ORG Sun Jan 3 10:53:10 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96C2C106566B for ; Sun, 3 Jan 2010 10:53:10 +0000 (UTC) (envelope-from tkjacobsen@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 28A528FC18 for ; Sun, 3 Jan 2010 10:53:09 +0000 (UTC) Received: by ewy26 with SMTP id 26so12168760ewy.3 for ; Sun, 03 Jan 2010 02:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=f8Oc6Qn6hL+akjzTT6H/SLb69KE8z+mLErfPLAkyoKY=; b=STyFHXlXSyOuYeBgm5cszieKH/WMojLT/yIhdbtZrc6QWdVIBhWxgv494SPoFR3JrA wC6MbQE3wvo9KcZQPy7g+/Tjd+vJE2e+SUniqwJNLtkS5Yrbrlla1MEX5h7wHmDnsBB4 arZy8uWjtm2NFgWiFRhKPRFGOnwoS/GVm/FkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=JTa1WwT1UV7Q2QifGaos8F5ncGDmFs2VmYypbKGtFsV48ocrseouUWQyxedHHbNd9F Ipz4CZ19uq+02ZryyuCJkOTkHCodItlZw3AIK6SDb3EQ26+BkdkilfyxtOQNkBcP7Pez YLFEdLfoCJA0eMpVKAnbunMfQG6yB3sXvlqgg= Received: by 10.213.100.168 with SMTP id y40mr2849210ebn.28.1262515986031; Sun, 03 Jan 2010 02:53:06 -0800 (PST) Received: from localhost (84-238-114-250.u.parknet.dk [84.238.114.250]) by mx.google.com with ESMTPS id 14sm11870689ewy.15.2010.01.03.02.53.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Jan 2010 02:53:01 -0800 (PST) Date: Sun, 3 Jan 2010 11:52:56 +0100 From: Troels Kofoed Jacobsen To: freebsd-stable@freebsd.org Message-ID: <20100103105256.GA1437@photon.std> References: <1112548880.20100101154736@takeda.tk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1112548880.20100101154736@takeda.tk> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: UTF-8 problem in 8.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 10:53:10 -0000 On Fri, Jan 01, 2010 at 03:47:36PM -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) > I've been playing around with locales myself the past days. My analysis: # env LANG=C locale charmap US-ASCII # env LANG=pl_PL.UTF-8 locale charmap UTF-8 # env LANG=en_US.UTF-8 locale charmap UTF-8 So the first one prints US-ASCII to your terminal and the latter two prints UTF-8 characters. My guess is that your terminal is set to US-ASCII and not UTF-8 and will thus not understand UTF-8 encoded characters. I'm using konsole where this setting can be found in "View" -> "Character Encoding" Hope this helps /Troels Kofoed Jacobsen > -- > Best regards, > Derek mailto:takeda@takeda.tk > > Daddy, why doesn't this magnet pick up this floppy disk? > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"