Baptiste Daroussin 473aa0b7ee locales: Enforce US-ASCII encoding (limited to 7-bit)
The US-ASCII format was getting treated identically to POSIX.  It is
supposed to throw an ILSEQ errno if a value of 0x80 or greater is
encountered, so let's bring back the "ASCII" handling.

While here, change nl_codeset to return US-ASCII only when the encoding
really is "US-ASCII".  Before "C" and "POSIX" encoding returned this
string, so now they return "POSIX".

Discussed with:	ache
Submitted by:	marino
Obtained from:	DragonflyBSD
2015-11-09 22:06:22 +00:00
..
2013-05-21 19:59:37 +00:00
2013-05-21 19:59:37 +00:00
2015-08-09 00:21:59 +00:00
2014-12-27 08:31:52 +00:00
2015-10-13 20:43:49 +00:00
2012-07-30 21:02:44 +00:00
2015-10-13 20:43:49 +00:00
2014-09-04 17:36:21 +00:00
2013-05-21 19:59:37 +00:00
2013-05-21 19:59:37 +00:00
2013-05-21 19:59:37 +00:00
2015-10-13 20:43:49 +00:00
2015-08-25 20:14:50 +00:00
2013-05-21 19:59:37 +00:00
2015-10-13 20:43:49 +00:00
2013-05-21 19:59:37 +00:00
2014-12-27 08:31:52 +00:00