diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 22:49:12 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 22:49:12 +0000 |
commit | a1e32d8567af680ed27d8b6de7ec16ccdbb0e681 (patch) | |
tree | 4e4cba16c1d578bec84c42a16ac44695f3642450 | |
parent | 595c64daedc4001c93691088c6d7cc76122ef639 (diff) | |
download | chromium_src-a1e32d8567af680ed27d8b6de7ec16ccdbb0e681.zip chromium_src-a1e32d8567af680ed27d8b6de7ec16ccdbb0e681.tar.gz chromium_src-a1e32d8567af680ed27d8b6de7ec16ccdbb0e681.tar.bz2 |
Remove obsolete comment. As of r35430, characters are checked for validity, and U+FFFD is used if invalid.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/777006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41215 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/utf_string_conversions.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/base/utf_string_conversions.h b/base/utf_string_conversions.h index 71e2cb2..57a22e7 100644 --- a/base/utf_string_conversions.h +++ b/base/utf_string_conversions.h @@ -19,13 +19,6 @@ class StringPiece; // do the best it can and put the result in the output buffer. The versions that // return strings ignore this error and just return the best conversion // possible. -// -// Note that only the structural validity is checked and non-character -// codepoints and unassigned are regarded as valid. -// TODO(jungshik): Consider replacing an invalid input sequence with -// the Unicode replacement character or adding |replacement_char| parameter. -// Currently, it's skipped in the ouput, which could be problematic in -// some situations. bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output); std::string WideToUTF8(const std::wstring& wide); bool UTF8ToWide(const char* src, size_t src_len, std::wstring* output); |