summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lzma/CPP/Common/UTFConvert.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/lzma/CPP/Common/UTFConvert.h')
-rw-r--r--3rdparty/lzma/CPP/Common/UTFConvert.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/3rdparty/lzma/CPP/Common/UTFConvert.h b/3rdparty/lzma/CPP/Common/UTFConvert.h
index 2a14600d9e0..827f3dcfe19 100644
--- a/3rdparty/lzma/CPP/Common/UTFConvert.h
+++ b/3rdparty/lzma/CPP/Common/UTFConvert.h
@@ -1,11 +1,12 @@
// Common/UTFConvert.h
-#ifndef __COMMON_UTFCONVERT_H
-#define __COMMON_UTFCONVERT_H
+#ifndef __COMMON_UTF_CONVERT_H
+#define __COMMON_UTF_CONVERT_H
#include "MyString.h"
+bool CheckUTF8(const char *src, bool allowReduced = false) throw();
bool ConvertUTF8ToUnicode(const AString &utfString, UString &resultString);
-bool ConvertUnicodeToUTF8(const UString &unicodeString, AString &resultString);
+void ConvertUnicodeToUTF8(const UString &unicodeString, AString &resultString);
#endif