m_docs = dict_get_documents (m);
- /* If the input files have different encodings, then
+ /* FIXME: If the input files have different encodings, then
+ the result is undefined.
+ The correct thing to do would be to convert to an encoding
+ which can cope with all the input files (eg UTF-8).
*/
file_encoding = dict_get_encoding (f->dict);
if ( file_encoding != NULL)
converter->fromcode = xstrdup (fromcode);
converter->conv = iconv_open (tocode, fromcode);
hmapx_insert (&map, converter, hash);
-
+
/* I don't think it's safe to translate this string or to use messaging
as the convertors have not yet been set up */
if ( (iconv_t) -1 == converter->conv && 0 != strcmp (tocode, fromcode))