void FormDataList::appendString(const String& s) { CString cstr = fixLineBreaks(m_encoding.encode(s.characters(), s.length(), EntitiesForUnencodables)); m_list.append(cstr); }
void FormDataList::appendString(const DeprecatedString &s) { DeprecatedCString cstr = fixLineBreaks(m_encoding.fromUnicode(s, true)); cstr.truncate(cstr.length()); m_list.append(cstr); }