From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64705 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: Problem with encoding Date: Tue, 21 Dec 2010 11:17:03 +0100 Message-ID: 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: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292926643 29917 80.91.229.12 (21 Dec 2010 10:17:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 10:17:23 +0000 (UTC) To: "Mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 21 11:17:18 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 1PUzHS-0000L9-8a for gctc-ntg-context-518@m.gmane.org; Tue, 21 Dec 2010 11:17:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4D0ACA907; Tue, 21 Dec 2010 11:17:17 +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 jRnEsuox3ZuW; Tue, 21 Dec 2010 11:17:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 54844CA90C; Tue, 21 Dec 2010 11:17:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C4CCCA90C for ; Tue, 21 Dec 2010 11:17:13 +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 DKb86nUztkah for ; Tue, 21 Dec 2010 11:17:11 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 49E8BCA907 for ; Tue, 21 Dec 2010 11:17:11 +0100 (CET) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBLAH8CN017943 for ; Tue, 21 Dec 2010 11:17:10 +0100 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Tue, 21 Dec 2010 11:17:07 +0100 In-Reply-To: <20101221101133.GJ29474@phare.normalesup.org> User-Agent: Opera Mail/11.00 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DJKh8rq - 6615277f4a9f - 20101221 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:64705 Archived-At: ... OK, thanks all for the answers and fixes. Lukas On Tue, 21 Dec 2010 11:11:33 +0100, Arthur Reutenauer wrote: >> BTW: What is the difference what the COUNTRY code and the LANGUAGE code = affects? > > 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). > > 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). > > Arthur -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________