From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64713 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: Problem with encoding Date: Tue, 21 Dec 2010 12:19:15 +0100 Message-ID: <20101221111915.GD22180@aides> References: <20101221101133.GJ29474@phare.normalesup.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0235887006==" X-Trace: dough.gmane.org 1292930389 15238 80.91.229.12 (21 Dec 2010 11:19:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 11:19:49 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 21 12:19:45 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PV0Fr-0001Xr-HO for gctc-ntg-context-518@m.gmane.org; Tue, 21 Dec 2010 12:19:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28F47CA925; Tue, 21 Dec 2010 12:19:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L2SXZTm04SkB; Tue, 21 Dec 2010 12:19:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26641CA90C; Tue, 21 Dec 2010 12:19:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 776F3CA90C for ; Tue, 21 Dec 2010 12:19:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Iy60YjsygARt for ; Tue, 21 Dec 2010 12:19:26 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 5498ECA903 for ; Tue, 21 Dec 2010 12:19:26 +0100 (CET) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBLBJP55001839 for ; Tue, 21 Dec 2010 12:19:25 +0100 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id oBLBJF8l013532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 21 Dec 2010 12:19:17 +0100 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id oBLBJFkq008356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 21 Dec 2010 12:19:15 +0100 Original-Received: from localhost (mnhm-4d010add.pool.mediaWays.net [77.1.10.221]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id oBLBJDqe003698 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 21 Dec 2010 12:19:14 +0100 In-Reply-To: <20101221101133.GJ29474@phare.normalesup.org> X-Operating-System: Linux aides 2.6.36-ARCH X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.210.211; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04DJLjpsP - 79c810549c52 - 20101221 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64713 Archived-At: --===============0235887006== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="27ZtN5FSuKKSZcBU" Content-Disposition: inline --27ZtN5FSuKKSZcBU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-12-21 <11:11:33>, Arthur Reutenauer wrote: > > BTW: What is the difference what the COUNTRY code and the LANGUAGE code= affects? >=20 > In your case, you should use a language code since you want to set a > language. ConTeXt has used different sets of codes in the past, but we > now try to follow IETF recommendation "Tag for Identifying Languages" > (http://tools.ietf.org/html/bcp47), because it's the only one that can > be precise enough for our needs (at least among the tagging systems I > know of). For example, you can distinguish between British English and > American English by appending a country code to the language code (hence > "en-gb" and "en-us", respectively). Using a country code to identify a > language is generally a bad idea and should be discouraged, since that's > not what they're meant for, and it can lead to confusion: for example, > you could use the code "uk" to identify English as spoken in the United > Kingdom, but that's actually the language code for Ukrainian, which has > been an actual problem for ConTeXt in the post (in addition to that, > "uk" is not even the proper language code for the United Kingdom: it's > "gb", as written above; the reason why "uk" is used as a DNS top-level > domain is not clear and has lead, alas, to even more confusion). But context uses some non-standard codes also: =E2=80=9Cdeo=E2=80=9D instea= d of =E2=80=9Cde-1901=E2=80=9D for sane German orthography, and =E2=80=9Cagr=E2= =80=9D for ancient Attic instead of =E2=80=9Cgrc=E2=80=9D or =E2=80=9Cel-polyton=E2=80=9D. (Te= stfile appended.) Philipp PS: nice tools http://people.w3.org/rishida/utils/subtags/ http://unicode.org/cldr/utility/languageid.jsp > The authorities that decide upon language and country codes are > different committees of the ISO; the ISO standard for language codes is > ISO 639 (with different parts), and the one for country codes is ISO 3166 > (again, with different parts; the two-letter codes of ISO 3166-1 are > generally rather well-known because they're the ones being used for DNS > top-level domains -- with some exceptions, see above). >=20 > Arthur > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --27ZtN5FSuKKSZcBU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk0QjTMACgkQ02lYlJYWs9K8YQCfaonwuheJBFtfUthXCikJ5CrS ERoAmgJ6OKiV7/coNt7zzxUiz5EPaw0q =YWRP -----END PGP SIGNATURE----- --27ZtN5FSuKKSZcBU-- --===============0235887006== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0235887006==--