From owner-svn-src-head@FreeBSD.ORG Wed Nov 5 23:26:43 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C50AE1065674; Wed, 5 Nov 2008 23:26:43 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id C401F8FC19; Wed, 5 Nov 2008 23:26:42 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so235888fkk.11 for ; Wed, 05 Nov 2008 15:26:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=03JqyRnaifXZrDXH39LELesWTZlFADbkaN3+j8nq4lw=; b=kwfFDE0460Uze0WdV34HwYCTpXY4T9KKqMzImjtDjTBETXNNIBeSdRLpOgbTI2JrLv uFbg8p+VnCPpovIbALcCzZdbIrAYAl20Q4UuPhsanxWYavobkpNN3HQk2y5LFYiHRSBS ehf1p+Jgc0sAGqjc8yvSO+3oraAaClQasbIpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qlMfStcTfCuihXhCLkM5pyiMEqSaf2b8SvN0kqGUdcPifJefs5NoD/P1D56fOk87CA 95h/ElXTLoY/7ApRT0qGxV2swv75t+aVciC9HzBCYP+YssOQ2RneOMAvOviO1KNpHhMi KG0malydllbgB8AruicOgJBFPvEqhgw6Fker8= Received: by 10.181.18.2 with SMTP id v2mr450014bki.194.1225927601423; Wed, 05 Nov 2008 15:26:41 -0800 (PST) Received: by 10.181.225.15 with HTTP; Wed, 5 Nov 2008 15:26:41 -0800 (PST) Message-ID: <9bbcef730811051526p3a978848uf904a149cb81fbce@mail.gmail.com> Date: Thu, 6 Nov 2008 00:26:41 +0100 From: "Ivan Voras" To: "M. Warner Losh" In-Reply-To: <20081105.150108.1649771743.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200811051508.mA5F89XD030040@svn.freebsd.org> <20081105.150108.1649771743.imp@bsdimp.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, des@freebsd.org Subject: Re: svn commit: r184691 - head/sys/compat/linprocfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 23:26:44 -0000 2008/11/5 M. Warner Losh : > In message: <200811051508.mA5F89XD030040@svn.freebsd.org> > Dag-Erling Smorgrav writes: > : utf-8 > > Is there some reason to prefer utf-8 over the 8-bit iso character set > we were using? Reason? You mean you actually *like* 8-bit code pages in the first place? :) As a person from a country that has during its history decided it really needs 3-4 dots and dashes in its alphabet that make it (the alphabet) not representable in ASCII, and who has had Many Fun Days converting between various 8-bit code pages, ISO standard or not, and especially with deducing which code page is actually being used as all bytes are created equal (and Microsoft just *had* to tweak two letters from iso8859-2 into Latin2), I welcome UTF-8 with a warm room, a beer, peanuts and a backrub. UTF-8 (as opposed to old 8-bit code pages which need to die as soon as possible and UTF-16 which got itself messed up with endianess) in unambiguous. A sequence of proper UTF-8 bytes (and UTF-8 has a structure so not every random collection of bytes with the 8th bit set is proper UTF-8) can always be linked to the same letter. This is why there's such a big push to get systems to properly support UTF-8. FreeBSD had a SoC project this year that was supposed to properly implement Unicode collations (and thus collation of UTF-8 strings) but it looks dead or in a dormant state right now (though I didn't follow it attentively).