X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; q=dns; s=default; b=e9ZF4Tm7N81cEJ/eM9rDNiyWa/nqFKjoBAz6XfstvcJ CysaX3OEAGBRrpRr4GF0LNEoGFsFopBfyu3M+yhBevEPWg1Hh4X7C+WNBQBFFZ4c 01jlaQ66/b/rziBm3x8fyf1Qu329MOFxegjS9BPLGC+MMZ4pSgZY57ocA+tAxDFY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=default; bh=5QTsYe1MaB5BtPQLp096EZPUI24=; b=FoO50qhaUwnjOofYR nBRsodjuvVTuiBSPcBtlUjtNvwxr4cWwUX2chl81gpTF0+wWFgd46LqlKdCgTTtF j75YUoQSOwmJspK86UrEalz8kTdRoqJtSbZj92AUFUW66L6AKbV0c+yQGxxDcJOI ie6zd3jiPfM0M4WS/KHa7tOnyw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f173.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=yqzEFfYiTHOaoTAHf4fYXxyl8teUFkILxv7irdl0SdM=; b=bicCXeDGmQLTXRfxu80bY4cZUuTw0upokT0ltAzPVfudcK+AoQkinOO+7+Zz652lCS wEqIjiQVirTBYpyhfb3b7ppVQfOkYVIUnEWIViDT1Fd6vaKphnx41Mz0k1L4VNmdjZEM OdBPufqAXU4uE+BLEQsc0ka7DhvXrcvhhYGyRq/yMc7CLaE6rQvjC5XKTU3hu/Skj1kD 9culgbxp1VkXcYjfZSxAuauJkxkou1sTnejorEexqBse6OOkwxj0tkDVNofCHbGzYFrg gSMmVoLnGcRImLuPeQjI3VapWx7vBRUxgZ8buFJMx/US0NDYg+eCdVp0tRxVhgaoJ27p aNow== X-Gm-Message-State: ALoCoQknpsJzbFX1kKwngy6nyT/1d7hX8nzOFcvt93XmxLN806CtAQaDWW2a1icjTku+MXQoDNkz X-Received: by 10.181.13.175 with SMTP id ez15mr6640189wid.59.1409351309795; Fri, 29 Aug 2014 15:28:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: =?ISO-8859-1?Q?Fr=E9d=E9ric_Bron?= Date: Sat, 30 Aug 2014 00:27:49 +0200 Message-ID: Subject: Re: python3 and mintty: why ANSI_X3.4-1968 encoding To: cygwin Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s7TMSkb9026322 > I am using mintty with option Text.locale=fr_FR and Character set=UTF-8 > Why, then, python3 reports a different encoding (ANSI_X3.4-1968) for > stdout and stdin? I found the issue: I had LANG=fr_FR.UTF-8 and at the same time LC_ALL=C I removed LC_ALL=C and my python3 script works with UTF-8 i/o. Frédéric -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple