diff options
author | jschuh@google.com <jschuh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-26 23:39:58 +0000 |
---|---|---|
committer | jschuh@google.com <jschuh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-26 23:39:58 +0000 |
commit | bce55e2762118f3dc567afdd3a7af137899f783a (patch) | |
tree | bc7815b3a881e3e1017534f8864164599942621c /base/string_util.h | |
parent | ef37e08636e4d5e4be1aa4b14a9e2d3d57fc2cfb (diff) | |
download | chromium_src-bce55e2762118f3dc567afdd3a7af137899f783a.zip chromium_src-bce55e2762118f3dc567afdd3a7af137899f783a.tar.gz chromium_src-bce55e2762118f3dc567afdd3a7af137899f783a.tar.bz2 |
Make IsStringUTF8 reject (U+FDD0 .. U+FDEF)
Eliminated the old Mozilla implementation and used an ICU-based implementation.
BUG=2759
TEST=base_unittests --gtest_filter=StringUtilTest.IsStringUTF8
Review URL: http://codereview.chromium.org/661205
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util.h')
-rw-r--r-- | base/string_util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/base/string_util.h b/base/string_util.h index 9e0da1e..e10b99e 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -247,7 +247,6 @@ bool WideToLatin1(const std::wstring& wide, std::string* latin1); // add a new function for that. bool IsString8Bit(const std::wstring& str); bool IsStringUTF8(const std::string& str); -bool IsStringWideUTF8(const std::wstring& str); bool IsStringASCII(const std::wstring& str); bool IsStringASCII(const base::StringPiece& str); bool IsStringASCII(const string16& str); |