summaryrefslogtreecommitdiff
path: root/src/common/string_util.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-07 12:49:27 -0400
committerGitHub <noreply@github.com>2023-10-07 12:49:27 -0400
commit0e9b839b6f5e10ea35ee3db79226fcc535c90064 (patch)
tree08825c9526eaf9bd8f981ddbd84e44ad36f3a877 /src/common/string_util.h
parent15a5bdd9794536965c3c79535f93c951df86f439 (diff)
parent38394f36d78f22ca75acf8275e86d25faecd0e8d (diff)
Merge pull request #11648 from liamwhite/unicode-nonsense
gdbserver: use numeric character references for unicode
Diffstat (limited to 'src/common/string_util.h')
-rw-r--r--src/common/string_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h
index c351f1a0c..9da1ca4e9 100644
--- a/src/common/string_util.h
+++ b/src/common/string_util.h
@@ -38,6 +38,7 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _
[[nodiscard]] std::string UTF16ToUTF8(std::u16string_view input);
[[nodiscard]] std::u16string UTF8ToUTF16(std::string_view input);
+[[nodiscard]] std::u32string UTF8ToUTF32(std::string_view input);
#ifdef _WIN32
[[nodiscard]] std::string UTF16ToUTF8(std::wstring_view input);