summaryrefslogtreecommitdiff
path: root/indra/llcommon/llformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llformat.h')
-rw-r--r--indra/llcommon/llformat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llformat.h b/indra/llcommon/llformat.h
index dc64edb26d..17d8b4a8ad 100644
--- a/indra/llcommon/llformat.h
+++ b/indra/llcommon/llformat.h
@@ -42,4 +42,8 @@
std::string LL_COMMON_API llformat(const char *fmt, ...);
+// the same version as above but ensures that returned string is in utf8 on windows
+// to enable correct converting utf8_to_wstring.
+std::string LL_COMMON_API llformat_to_utf8(const char *fmt, ...);
+
#endif // LL_LLFORMAT_H