|
a/src/internfile/mh_html.cpp |
|
b/src/internfile/mh_html.cpp |
|
... |
|
... |
110 |
break;
|
110 |
break;
|
111 |
LOGDEB(("textHtmlToDoc: charset [%s] doc charset [%s]\n",
|
111 |
LOGDEB(("textHtmlToDoc: charset [%s] doc charset [%s]\n",
|
112 |
charset.c_str(),result.doccharset.c_str()));
|
112 |
charset.c_str(),result.doccharset.c_str()));
|
113 |
if (!result.doccharset.empty() &&
|
113 |
if (!result.doccharset.empty() &&
|
114 |
!samecharset(result.doccharset, result.ocharset)) {
|
114 |
!samecharset(result.doccharset, result.ocharset)) {
|
115 |
LOGDEB(("textHtmlToDoc: charset '%s' doc charset '%s',"
|
115 |
LOGDEB(("textHtmlToDoc: reparse for charsets\n"));
|
116 |
"reparse\n", charset.c_str(),
|
|
|
117 |
result.doccharset.c_str()));
|
|
|
118 |
charset = result.doccharset;
|
116 |
charset = result.doccharset;
|
119 |
} else {
|
117 |
} else {
|
120 |
LOGERR(("textHtmlToDoc:: error: non charset exception\n"));
|
118 |
LOGERR(("textHtmlToDoc:: error: non charset exception\n"));
|
121 |
return MimeHandler::MHError;
|
119 |
return MimeHandler::MHError;
|
122 |
}
|
120 |
}
|