Lines Matching refs:enc
175 const char *enc; in detectAndConvert() local
194 enc = ucsdet_getName(bestSingleMatch, &status); in detectAndConvert()
196 enc = combinedenc; in detectAndConvert()
199 enc = combinedenc; in detectAndConvert()
203 enc = "UTF-8"; in detectAndConvert()
212 enc = ucsdet_getName(ucm, &status); in detectAndConvert()
214 enc, mNames.getEntry(i), ucsdet_getConfidence(ucm, &status)); in detectAndConvert()
218 if (strcmp(enc,"UTF-8") != 0) { in detectAndConvert()
220 ALOGV("@@@ using converter %s for %s", enc, mNames.getEntry(i)); in detectAndConvert()
222 UConverter *conv = ucnv_open(enc, &status); in detectAndConvert()
225 enc, status); in detectAndConvert()