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=tG7xvDFh9bQsjF5CIGRQtNCi6ypdZWh+yokK62y2NZNTEyYh8Spmi UgzmHpZvUa0IZtSmJ9N/y7VFgKKGQlBsS7cPRlOwauIJIJGq3qAxD5sQaL7VrjPt jqmK1QtcZb4oIVZJWpXI3WLPevYWkbKGkU4E8tYEwG2leoI520JOec= 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=jx51zt3/gequoykXuXkmNTv4g1A=; b=vPhvwDgzJZ2DneT2BB0RtHTQqJWX HlyAbkIa266XIJotIvW5wH0we4KQdjGA+RITiQsIvXS+Y0/bkYW40ufmWkKcsnnl rCcoST/xTiWMP7MmwQ/Kh3sF0auay0k6uxdf80wDAc1Q6mgSoxjVSkj/U4oc0lri QaFCRcRn49yhY7o= 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.1 required=5.0 tests=AWL,BAYES_50,LIKELY_SPAM_SUBJECT autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Tue, 17 Dec 2013 17:49:26 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: locale "de_DE.UTF-8", fscanf problem? Message-ID: <20131217164926.GE30010@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20131217100427 DOT GB9768 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gr/z0/N6AeWAPJVB" Content-Disposition: inline In-Reply-To: <20131217100427.GB9768@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. 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. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --gr/z0/N6AeWAPJVB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBAgAGBQJSsICVAAoJEPU2Bp2uRE+gW+cP/iIqfE9JWOQGEw+Tz9b05oSt xb5DpGb5tGPSQWwH10v6qsj2/C57UaE+/ijzFTFtofy14zEQkuzBHVlwt4pZYHCY dRpWglopYCfxbxN/muy4jvDSQQ470HlOQMR7x/qFgLf0fMWQEzyFXl+pNSqX6eCr Pfip3UpGa1stZK2YML8LUD+SWtFRA9sr5lHKI+xN4zsJK8tkVW/bADJxoQHw0Kok b0KJu6ZHF013d6zXOvu+SxelB1yqS43M6/aD6s66wGYgI8XflMty/zPCZB8fk+5g uflq491nBnQLH0YZr6aoBSS9vSXNUhUxs8ZAUDHa5HzbuZvjYN0L3nxVOIq3BbZ0 AGgAyPGNeRp4BQ5zfuj3aKGLzWpIcIeV/unddaeOqWQ+ShpqLlo4fR9HdS6bXyX6 MICr00Mi7QvhMzZsrFOUIWXJnexzVQNNhTLWExA2/+Nb+0wLI207Ec5v8NskMcaE XZZDKYt2k8IhXzAJoxLEgT4JCZSc8YaMOZI0PQUtsd4raN9mfQEx7Az5PXfjdiyQ 0tsl+vf+U92CGK588pwBq4YTnBxtyZoVX05l8UOvsQjE2UtfyzBvLEhLbIS72BoS lcO5ZtA2C1yIjFPCBBlEnYs10CpH1ZYNfTI+3cX3Q7DkG+Y0NDmOOgHaH63rNXN8 xU7B32qpHC1pQd8kzOuo =Uu6l -----END PGP SIGNATURE----- --gr/z0/N6AeWAPJVB--