diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 14:54:23 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 14:54:23 -0700 |
| commit | a94efe662b0537a606d40bdd4b986b5b2ea246e2 (patch) | |
| tree | f741d6b99225c7bda5fb7b349a1a5bf3ac50ab9d /toolsrc/include | |
| parent | f920d0e5208a75dcb14ac4fcb5b7c83edbaab861 (diff) | |
| download | vcpkg-a94efe662b0537a606d40bdd4b986b5b2ea246e2.tar.gz vcpkg-a94efe662b0537a606d40bdd4b986b5b2ea246e2.zip | |
Rename Strings:: function for utf8/utf16 conversion
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_Strings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg_Strings.h b/toolsrc/include/vcpkg_Strings.h index 11c8b5a6a..640c639ce 100644 --- a/toolsrc/include/vcpkg_Strings.h +++ b/toolsrc/include/vcpkg_Strings.h @@ -48,9 +48,9 @@ namespace vcpkg::Strings return details::wformat_internal(fmtstr, to_wprintf_arg(to_wprintf_arg(args))...); } - std::wstring utf8_to_utf16(const CStringView s); + std::wstring to_utf16(const CStringView s); - std::string utf16_to_utf8(const CWStringView w); + std::string to_utf8(const CWStringView w); std::string::const_iterator case_insensitive_ascii_find(const std::string& s, const std::string& pattern); |
