Sfoglia il codice sorgente

HPCC-10247 This should convert field names from the source unicode encoding
(e.g., could be utf16)

Update after review.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>

Attila Vamos 11 anni fa
parent
commit
7e6fe245ac
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      dali/ft/daftformat.cpp

+ 1 - 1
dali/ft/daftformat.cpp

@@ -902,7 +902,7 @@ void CUtfPartitioner::storeFieldName(const char * start, unsigned len)
     // Check the field name
     StringBuffer fieldName;
     MemoryBuffer temp;
-    if( convertUtf(temp, UtfReader::Utf8, len, start, utfFormat))
+    if (convertUtf(temp, UtfReader::Utf8, len, start, utfFormat))
     {
         fieldName.append(temp.length(), temp.toByteArray());
         fieldName.trim();