Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Unified Diff: base/i18n/icu_string_conversions.h

Issue 4435001: Add support for the extended header parameter syntax in Content-Disposition h... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/i18n/icu_string_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/icu_string_conversions.h
===================================================================
--- base/i18n/icu_string_conversions.h (revision 64006)
+++ base/i18n/icu_string_conversions.h (working copy)
@@ -64,6 +64,12 @@
OnStringConversionError::Type on_error,
std::wstring* wide);
+// Converts from any codepage to UTF-8 and ensures the resulting UTF-8 is
+// normalized.
+bool ConvertToUtf8AndNormalize(const std::string& text,
+ const std::string& charset,
+ std::string* result);
+
} // namespace base
#endif // BASE_I18N_ICU_STRING_CONVERSIONS_H_
« no previous file with comments | « no previous file | base/i18n/icu_string_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698