From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91229 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Windows console message from utf-8 source Date: Mon, 27 Apr 2015 19:48:11 +0200 Message-ID: References: <553E6400.1000103@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0746119203==" X-Trace: ger.gmane.org 1430156942 21006 80.91.229.3 (27 Apr 2015 17:49:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 17:49:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 27 19:48:50 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ymn9D-0005po-Sm for gctc-ntg-context-518@m.gmane.org; Mon, 27 Apr 2015 19:48:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29800101FD for ; Mon, 27 Apr 2015 19:48:47 +0200 (CEST) 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 jACOu9Kvc4ZZ for ; Mon, 27 Apr 2015 19:48:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D9BA91023C for ; Mon, 27 Apr 2015 19:48:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8F4F101FC for ; Mon, 27 Apr 2015 19:48:17 +0200 (CEST) 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 M1DQdCQpkamG for ; Mon, 27 Apr 2015 19:48:13 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 2A305101E8 for ; Mon, 27 Apr 2015 19:48:13 +0200 (CEST) Original-Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t3RHmCkZ012800 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 27 Apr 2015 19:48:12 +0200 Original-Received: by wizk4 with SMTP id k4so109235779wiz.1 for ; Mon, 27 Apr 2015 10:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+1gIDWUJqINaGXvm9i8S9Xbmo67Ja59SUU/koW1pzO8=; b=o7vn5EbfJmmb/shqWl439oHIMGPaYa1sppe57kuvn+8IiXfrY4Hw65G7gHRPbhY7x7 pbEw1pokotoF6k3PzunEleFDinlpVpMXqpWOJBniNy3PdIYsR1HQmg+XEBL0YiEI3j+j xfn2sT+MZf2JptvCMKMnCvhxOPT1pJo9vZ6V3foGWUuTj37geBKMzLzjAWtsIqOJlRbu R2Hqov6SydIChYWR7L7NK9p9McZhXvBKcX5vmobGHK1cQ7nZvKdxSfLCbmYb6REzuMBj 6yXL8iF1y3P1NsuAjmBvBnSRgpy1KOg+QeGOsZnR2bgUNULxP4R+oHsmh8uJuRgXgr3X CRbg== X-Received: by 10.194.79.9 with SMTP id f9mr25028425wjx.20.1430156891986; Mon, 27 Apr 2015 10:48:11 -0700 (PDT) Original-Received: by 10.194.35.131 with HTTP; Mon, 27 Apr 2015 10:48:11 -0700 (PDT) In-Reply-To: <553E6400.1000103@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::230; country=IE; latitude=53.3478; longitude=-6.2597; http://maps.google.com/maps?q=53.3478,-6.2597&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Ol5Mc5p - 7e9eca81f33a - 20150427 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of luigi.scarso@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:400c:c05::230; envelope-from=; helo=mail-wi0-x230.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:91229 Archived-At: --===============0746119203== Content-Type: multipart/alternative; boundary=047d7bb03ed28520180514b85903 --047d7bb03ed28520180514b85903 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Apr 27, 2015 at 6:29 PM, Pablo Rodriguez wrote: > Dear list, > > I have the following minimal example: > > \starttext > \message{En espa=C3=B1ol usamos acentuaci=C3=B3n} > \stoptext > > Saved as utf-8, Linux displays the message fine. (I guess MacOS X would > do the same.) > > The problem is the standard console in Windows. It requires IBM codepage > 850 exclusively. (Or at least, I don=E2=80=99t know how to display utf-8 = strings.) > > Is there any way to display the content of the \message above as cp850 > from a utf-8 source? > > Many thanks for your help, > > What happen when you use Lucida Console as font ? --=20 luigi --047d7bb03ed28520180514b85903 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Apr 27, 2015 at 6:29 PM, Pablo Rodriguez <= oinos@gmx.es> wrote:
Dear list,

I have the following minimal example:

=C2=A0 =C2=A0 \starttext
=C2=A0 =C2=A0 \message{En espa=C3=B1ol usamos acentuaci=C3=B3n}
=C2=A0 =C2=A0 \stoptext

Saved as utf-8, Linux displays the message fine. (I guess MacOS X would
do the same.)

The problem is the standard console in Windows. It requires IBM codepage 850 exclusively. (Or at least, I don=E2=80=99t know how to display utf-8 st= rings.)

Is there any way to display the content of the \message above as cp850
from a utf-8 source?

Many thanks for your help,

What happen when you use Lucida Console as font ?=C2= =A0


--
luigi
--047d7bb03ed28520180514b85903-- --===============0746119203== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0746119203==--