summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/unicode.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2017-01-04 08:06:20 -0500
committer Nathan Woods <npwoods@mess.org>2017-01-04 08:06:20 -0500
commitb1eed07ad9156a66ce4e65b0522774619ec5b7a6 (patch)
tree55f05b7012d10003f07c9afdfa6b976b4d85e0be /src/lib/util/unicode.cpp
parent3231c3f64821a9914be338bb603d083a01b577de (diff)
Vas Crabb feedback:
1. Changed the Win32 code to use _O_U8TEXT() 2. Reordered system #includes 3. Changed a number of 'std::wcout << ...' to use util::stream_format() I'm getting massive code compilation issues, and it isn't clear to me what the problem is. I'm committing my WIP right now, with the intention of reviewing the specifics soon.
Diffstat (limited to 'src/lib/util/unicode.cpp')
-rw-r--r--src/lib/util/unicode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/unicode.cpp b/src/lib/util/unicode.cpp
index 1f28fe55c47..5849abb8d73 100644
--- a/src/lib/util/unicode.cpp
+++ b/src/lib/util/unicode.cpp
@@ -8,9 +8,6 @@
***************************************************************************/
-#include <codecvt>
-#include <locale>
-
#include "unicode.h"
#ifdef _WIN32
@@ -20,6 +17,9 @@
#include "utf8proc/utf8proc.h"
+#include <codecvt>
+#include <locale>
+
//-------------------------------------------------
// uchar_isvalid - return true if a given