summaryrefslogtreecommitdiff
path: root/zen/utf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/utf.h')
-rw-r--r--zen/utf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/utf.h b/zen/utf.h
index 56b1ff55..6f7c39cc 100644
--- a/zen/utf.h
+++ b/zen/utf.h
@@ -16,7 +16,7 @@ namespace zen
template <class TargetString, class SourceString>
TargetString utfTo(const SourceString& str);
-const char BYTE_ORDER_MARK_UTF8[] = "\xEF\xBB\xBF";
+const std::string_view BYTE_ORDER_MARK_UTF8 = "\xEF\xBB\xBF";
template <class UtfString>
bool isValidUtf(const UtfString& str); //check for UTF-8 encoding errors
bgstack15