]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/genrb/derb.cpp
ICU-59117.0.1.tar.gz
[apple/icu.git] / icuSources / tools / genrb / derb.cpp
index 3d2507bc14e23fd52e6e0542083287c7fc9228c8..7eba011f9ad9dea49d5433a7ac66e1324f70b820 100644 (file)
@@ -1,3 +1,5 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 *******************************************************************************
 *
@@ -6,7 +8,7 @@
 *
 *******************************************************************************
 *   file name:  derb.cpp
-*   encoding:   US-ASCII
+*   encoding:   UTF-8
 *   tab size:   8 (not used)
 *   indentation:4
 *
@@ -368,7 +370,7 @@ static void printCString(UFILE *out, const char *str, int32_t len) {
 
 static void printIndent(UFILE *out, int32_t indent) {
     icu::UnicodeString inchar(indent, 0x20, indent);
-    printString(out, inchar.getBuffer(), indent);
+    printString(out, (const UChar *)inchar.getBuffer(), indent);
 }
 
 static void printHex(UFILE *out, uint8_t what) {