/* GNU gettext - internationalization aids
- Copyright (C) 1995-1998, 2000-2010, 2012, 2016, 2018-2022 Free Software
- Foundation, Inc.
+ Copyright (C) 1995-1998, 2000-2010, 2012, 2016, 2018-2023 Free Software Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>
This program is free software: you can redistribute it and/or modify
}
}
if (was_utf8)
- def = iconv_msgdomain_list (def, "UTF-8", true, fn1);
+ def = iconv_msgdomain_list (def, po_charset_utf8, true, fn1);
}
/* Determine canonicalized encoding name of the definitions now, after
}
if (was_utf8)
{
- def = iconv_msgdomain_list (def, "UTF-8", true, fn1);
+ def = iconv_msgdomain_list (def, po_charset_utf8, true, fn1);
if (compendiums != NULL)
for (k = 0; k < compendiums->nitems; k++)
iconv_message_list (compendiums->item[k], NULL, po_charset_utf8,
{
/* It's too hairy to find out what would be the optimal target
encoding. So, convert everything to UTF-8. */
- def = iconv_msgdomain_list (def, "UTF-8", true, fn1);
+ def = iconv_msgdomain_list (def, po_charset_utf8, true, fn1);
if (compendiums != NULL)
for (k = 0; k < compendiums->nitems; k++)
iconv_message_list (compendiums->item[k],
extract_from_file (file_name, po_extractor, mdlp);
if (!is_ascii_msgdomain_list (mdlp))
- mdlp = iconv_msgdomain_list (mdlp, "UTF-8", true, file_name);
+ mdlp = iconv_msgdomain_list (mdlp, po_charset_utf8, true, file_name);
dir_list_restore (saved_directory_list);
}