diff --git a/training/stringrenderer.cpp b/training/stringrenderer.cpp index 46da77b76..fbff55fb1 100644 --- a/training/stringrenderer.cpp +++ b/training/stringrenderer.cpp @@ -52,7 +52,7 @@ static const int kDefaultOutputResolution = 300; // Word joiner (U+2060) inserted after letters in ngram mode, as per // recommendation in http://unicode.org/reports/tr14/ to avoid line-breaks at // hyphens and other non-alpha characters. -static const char* kWordJoinerUTF8 = "\u2060"; +static const char* kWordJoinerUTF8 = "\xE2\x81\xA0"; //u8"\u2060"; static const char32 kWordJoiner = 0x2060; static bool IsCombiner(int ch) {