Store variable names, labels and value labels as UTF8.
[pspp-builds.git] / src / libpspp / i18n.c
index 7fd7580e89d0d12fff978dbb35c6b95981758a00..60189ff76eb6e983c0958af83916a4bd1fe57469 100644 (file)
@@ -57,6 +57,7 @@ create_iconv (const char* tocode, const char* fromcode)
   size_t hash;
   struct hmapx_node *node;
   struct converter *converter;
+  assert (fromcode);
 
   hash = hash_string (tocode, hash_string (fromcode, 0));
   HMAPX_FOR_EACH_WITH_HASH (converter, node, hash, &map)