Commit 994dc96e authored by Bruno Haible's avatar Bruno Haible
Browse files

iconv tests: Test canonicalized, not system-dependent, encoding names.

* tests/test-iconv.c (main): Revert part of the 2016-08-17 patch.
parent d02c5c2d
2019-12-19 Bruno Haible <bruno@clisp.org>
iconv tests: Test canonicalized, not system-dependent, encoding names.
* tests/test-iconv.c (main): Revert part of the 2016-08-17 patch.
2019-12-18 Bruno Haible <bruno@clisp.org>
 
localename: Fix test failure on AIX 7.2.
......@@ -44,8 +44,8 @@ main ()
#if HAVE_ICONV
/* Assume that iconv() supports at least the encodings ASCII, ISO-8859-1,
and UTF-8. */
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO8859-1");
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8");
#if defined __MVS__ && defined __IBMC__
/* String literals below are in ASCII, not EBCDIC. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment