delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=I//dQ4uzXZ05aPGtKOunsMEXMLz7/F9napWuLeaF1zKkuDqDryNc0 | |
Jsqxk8ekWWDO3h1u1uOi6W9zWqu4bFe5ijRKZ3qf+fRhONqsisddV4SiqBK4COOq | |
6UHvw7Hx39zn9BYJ1IDOuMJzy6GHMuXUgeDXZL8NkSajHDHK8uJAA8= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=6eUmZiBtCn7jCBaq/XQ29XZBEtU=; b=Z0k8PmQQI/tSzqudXWnGfxW/mqPx | |
W/EewtDs5IoGHOcwJBc/yQ9ub/UcZ8UDH17XjLtdX8VWjTLAexMLPtXBF4sXKVKp | |
bEVK+cFdQxqYok3dVA9E7GSlWt7nVY/zxhJ9rZwXFJrHJcvjaK8YXoXzvvZ18CCe | |
mnV18UTT08udOek= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.1 required=5.0 tests=AWL,BAYES_50,LIKELY_SPAM_SUBJECT autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 18 Dec 2013 21:53:01 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: locale "de_DE.UTF-8", fscanf problem? |
Message-ID: | <20131218205301.GH30010@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <l8p4cd$gio$1 AT ger DOT gmane DOT org> <20131217100427 DOT GB9768 AT calimero DOT vinschen DOT de> <20131217164926 DOT GE30010 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20131217164926.GE30010@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--sDhuxz86kt5qlkuV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 17 17:49, Corinna Vinschen wrote: > On Dec 17 11:04, Corinna Vinschen wrote: > > On Dec 17 10:09, Tilman Kuepper wrote: > > > Hello, > > >=20 > > > There seems to be an "unbalance" with fprintf and fscanf when using > > > the "de_DE.UTF-8" locale. > > >=20 > > > The following program correctly writes "2,5" (decimal comma) to a > > > file. But reading with fscanf fails - the decimal comma is treated > > > as "end of number". > > >=20 > > > Regards, > > > Tilman > > >=20 > > > -------------- > > > [...testcase...] > >=20 > > Weird. I was pretty sure that scanf is doing the right thing, but > > apparently it doesn't. Thanks a lot for the testcase, I'll have a look > > into this issue. >=20 > A generic solution for this problem is much more complex than I > anticipated. I'll be looking into getting this into the next Cygwin > release, but it will take at least a couple of days to get this right, > so don't hold your breath for testing a fix within... uhm... the year > 2013, I guess. I applied a newlib patch today. Please give the next developer snapshot from http://cygwin.com/snapshots/ a try. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --sDhuxz86kt5qlkuV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBAgAGBQJSsgstAAoJEPU2Bp2uRE+gdxMQAJFycYTdARgBG2P/jNDZf29y zGhsHFpoGEoVPRsAHoTbjdu2ALCL4u5wygBJR1ak228lNN34NOnlolxD4NC7zHhl jJyp10HFFxnfeuPTFRjoFqoirOBn7b6ItTH91JR5HQgr3/MMxxu3XIyllGwSXbYl XSzzhC3zWTw/n5DBD+oEvYANrwXNmR1ubx6u9ss4Gks93XMs++NoN38qTDj+GGrc U+eUscn+tGXEGpDkj9yU66IA7Paf+OYgIJuURJYaFKozNV+ppO21QIrkHvaXG3CC wdLMwFbbjI9Fn6Cgy64oKnN4IZlrI8Mc8oA//IE1U1AwambFsd5iwBBT1H9nmqRw naQON/CDnhoMrEzNsEKiYA+RfoKaEVG5OXhU8nG1JlGm2L+JxRtAOo/t8hjWcoTs PSps5TNM6srS5HszALy8jXg1PRG/S0u2/E1bs4Ks9dGSqqOGmQkOUmxRfFc3jrJT ePrTPF33+t4Ygtp/7sTX16YEyXAtZCrCHR2A6hq6zO9ZJyYcLtuB+M0O0JQAQPxL te8Sv1bhoNKk93BFlz4ibnqFD+W5qydJcfpqb+8clhdEWyqC9GRKFdqVDrGdwMu8 0IOiPtv/nh15JBi/k7nIsIl7PK40KeWtsJoVIm+YK2Oh/UKjiOqOXgWybs0nCX8p K6wJDzHVgQMhIPMe/0+o =z7Cg -----END PGP SIGNATURE----- --sDhuxz86kt5qlkuV--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |