fix python

This commit is contained in:
Vitor Santos Costa
2016-08-22 17:02:40 -05:00
parent a675f6f49e
commit eea3da22f1
2 changed files with 5 additions and 2 deletions

View File

@@ -634,7 +634,7 @@ static int python_import(term_t mname, term_t mod) {
s = stpcpy(s, sa);
*s++ = '.';
} else if (!PL_get_nchars(mname, &len, &s,
CVT_ALL | CVT_EXCEPTION | ENC_ISO_UTF8)) {
CVT_ALL | CVT_EXCEPTION | REP_UTF8)) {
return false;
} else {
break;