Lines Matching refs:encoding
82 // save the strings for later so they can be used for native encoding detection
98 // if s contains a native encoding, then it was mistakenly encoded in utf8 as if it were latin-1
122 void MediaScannerClient::convertValues(uint32_t encoding)
125 switch (encoding) {
155 // for each value string, convert from native encoding to UTF-8
172 // now convert from native encoding to UTF-8
204 uint32_t encoding = kEncodingAll;
208 encoding &= possibleEncodings(mValues->getEntry(i));
210 // if the locale encoding matches, then assume we have a native encoding.
211 if (encoding & mLocaleEncoding)