Minor changes.

This commit is contained in:
Vreixo Formoso
2007-12-23 02:58:54 +01:00
parent 6154fb1f0a
commit 002a832ac3
3 changed files with 5 additions and 3 deletions

View File

@ -32,8 +32,7 @@ int get_iso_name(Ecma119Image *img, IsoNode *iso, char **name)
return ISO_SUCCESS;
}
// TODO add support for other input charset
ret = str2ascii("UTF-8", iso->name, &ascii_name);
ret = str2ascii(img->input_charset, iso->name, &ascii_name);
if (ret < 0) {
iso_msg_debug(img->image, "Can't convert %s", iso->name);
return ret;