1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-01 09:51:46 -05:00
Dan Fandrich c6ddb606d8 tests: use consistent environment variables for setting charset
The character set in POSIX is set by the locale defined by (in
decreasing order of precedence) the LC_ALL, LC_CTYPE and LANG
environment variables (CHARSET was used by libidn but not libidn2).
LC_ALL is cleared to ensure that LC_CTYPE takes effect, but LC_ALL is
not used to set the locale to ensure that other parts of the locale
aren't overridden.  Since there doesn't seem to be a cross-platform way
of specifying a UTF-8 locale, and not all systems may support UTF-8, a
<precheck> is used to skip the test if UTF-8 can't be verified to be
available.  Test 1035 was also converted to UTF-8 for consistency, as
the actual character set used there is irrelevant to the test.

This patch uses a different UTF-8 locale than the last attempt, namely
en_US.UTF-8. This one has been verified on 7 different Linux and BSD
distributions and is more complete and usable than the locale UTF-8 (on
at least some systems).
2017-02-25 15:33:29 +01:00
..
2014-11-13 23:06:44 +01:00
2008-02-09 02:37:31 +00:00
2016-03-06 16:22:49 +01:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2015-03-16 15:01:15 +01:00
2009-12-24 12:04:33 +00:00
2009-12-24 12:04:33 +00:00
2014-04-03 11:49:49 +02:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2007-12-08 22:56:17 +00:00
2013-06-25 09:55:49 +02:00
2008-07-31 02:51:44 +00:00
2008-01-05 12:15:41 +00:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2008-10-08 01:17:51 +00:00
2014-04-03 11:49:49 +02:00
2015-11-06 10:55:30 +01:00
2013-06-25 09:55:49 +02:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2008-01-07 19:54:40 +00:00
2010-01-18 20:20:07 +00:00
2010-01-18 20:20:07 +00:00
2010-01-18 20:20:07 +00:00
2010-05-27 23:45:18 +02:00
2011-10-21 16:52:14 +02:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:11:12 +00:00
2008-08-26 20:21:59 +00:00
2008-08-26 20:11:12 +00:00
2011-10-21 16:52:14 +02:00
2017-02-07 02:39:15 -05:00
2015-11-02 08:41:46 +01:00
2016-11-11 15:32:07 +01:00
2011-04-28 10:06:49 +02:00
2011-05-18 22:56:46 +02:00
2014-04-03 11:49:49 +02:00
2013-04-25 23:42:38 +02:00
2014-04-03 11:49:48 +02:00
2016-11-07 10:36:23 +01:00
2014-04-03 11:49:48 +02:00
2013-11-17 00:20:58 +00:00
2014-04-03 11:49:48 +02:00
2014-04-03 11:49:48 +02:00
2013-11-17 12:52:42 +00:00
2015-03-21 01:27:44 +01:00
2007-10-25 21:04:51 +00:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2008-06-01 22:04:09 +00:00
2008-06-01 22:04:09 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-08-14 19:18:18 +00:00
2008-06-01 22:04:09 +00:00
2008-06-01 22:04:09 +00:00
2015-11-06 10:55:30 +01:00
2008-07-31 02:51:44 +00:00
2008-07-31 02:38:51 +00:00
2008-09-22 21:33:18 +00:00
2010-03-31 22:22:37 -07:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2010-10-19 20:20:06 +02:00
2014-04-03 11:49:49 +02:00
2011-04-20 16:51:44 -07:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2010-08-25 16:43:26 -07:00
2010-08-25 16:43:26 -07:00
2010-08-25 16:43:26 -07:00
2013-04-12 23:59:37 +02:00
2014-04-03 11:49:49 +02:00
2014-04-03 11:49:49 +02:00
2013-08-16 11:55:04 +02:00
2015-11-06 10:55:30 +01:00
2016-11-14 08:35:40 +01:00
2016-11-15 08:22:54 +01:00
2016-12-24 23:35:54 +01:00
2016-10-31 09:37:54 +01:00
2011-01-04 23:13:10 +01:00
2011-01-04 23:13:10 +01:00
2011-06-13 22:32:00 +02:00
2011-08-04 17:48:45 +02:00
2011-12-16 11:39:53 +01:00
2011-12-23 14:46:20 +01:00
2012-01-18 22:20:33 +01:00
2014-04-03 11:49:49 +02:00
2015-05-23 16:28:09 +02:00
2015-12-26 17:25:59 +01:00
2016-04-20 10:02:22 +02:00
2015-02-03 20:37:44 +01:00
2015-02-03 23:05:55 +01:00
2016-06-19 23:59:52 +02:00
2016-06-19 23:59:52 +02:00
2016-06-19 23:59:52 +02:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2015-11-06 10:55:30 +01:00
2016-12-05 21:38:15 +01:00
2015-07-01 19:43:47 +02:00
2015-08-22 21:57:14 -04:00
2016-09-18 15:33:15 -04:00