This commit is contained in:
Jean-Francois Dockes 2020-09-28 13:59:53 +02:00
parent 96104e7d67
commit eb58602b5d

View File

@ -37,10 +37,10 @@ string compute_utf8fn(const RclConfig *config, const string& ifn, bool simple)
string utf8fn; string utf8fn;
int ercnt; int ercnt;
if (!transcode(lfn, utf8fn, charset, "UTF-8", &ercnt)) { if (!transcode(lfn, utf8fn, charset, "UTF-8", &ercnt)) {
LOGERR("compute_utf8fn: fn transcode failure from [" << charset << LOGERR("compute_utf8fn: fn transcode failure from [" << charset <<
"] to UTF-8 for: [" << lfn << "]\n"); "] to UTF-8 for: [" << lfn << "]\n");
} else if (ercnt) { } else if (ercnt) {
LOGDEB("compute_utf8fn: " << ercnt << " transcode errors from [" << LOGDEB("compute_utf8fn: " << ercnt << " transcode errors from [" <<
charset << "] to UTF-8 for: [" << lfn << "]\n"); charset << "] to UTF-8 for: [" << lfn << "]\n");
} }
LOGDEB1("compute_utf8fn: transcoded from [" << lfn << "] to [" << LOGDEB1("compute_utf8fn: transcoded from [" << lfn << "] to [" <<