[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 3.6.0 release
From: |
CdeMills |
Subject: |
Re: 3.6.0 release |
Date: |
Wed, 23 Nov 2011 03:36:22 -0800 (PST) |
John W. Eaton wrote
>
> [...]
> * the problem leads to incorrect results, can be duplicated on
> multiple systems, and is likely to affect many users.
>
Hello,
a nice feature to add to Octave 3.6 would be locale support when reading
files. I introduced a patch inside bug report 34495, which is tagged as
'severity: normal'. I applied it since more than one month, and seems to
works OK. I recently revised it, and added a test:
%!test
%! assert(sscanf('1,2', '%f', 'C'), 1)
%! assert(sscanf('1,2', '%f', 'fr_FR'), 1.2)
The first assert illustrates sscanf behaviour when reading a number with
french locales using C locales; the second one shows that correct result can
be obtained when using the right locales.
Please apply.
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/3-6-0-release-tp4097462p4099296.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- Re: 3.6.0 release, (continued)
- Re: 3.6.0 release, Alexander Hansen, 2011/11/24
- Re: 3.6.0 release, John W. Eaton, 2011/11/25
- Re: 3.6.0 release, Jordi GutiƩrrez Hermoso, 2011/11/24
- Re: 3.6.0 release, John W. Eaton, 2011/11/25
- Re: 3.6.0 release, Orion Poplawski, 2011/11/28
- Re: 3.6.0 release, marco atzeri, 2011/11/25
Re: 3.6.0 release,
CdeMills <=
Re: 3.6.0 release, logari81, 2011/11/23
Re: 3.6.0 release, logari81, 2011/11/29
Re: 3.6.0 release, Michael Goffioul, 2011/11/29
Re: 3.6.0 release, John W. Eaton, 2011/11/29