summaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/fastlib/text/apps/unicode_tolowerdump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/vespa/fastlib/text/apps/unicode_tolowerdump.cpp')
-rw-r--r--vespalib/src/vespa/fastlib/text/apps/unicode_tolowerdump.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/vespalib/src/vespa/fastlib/text/apps/unicode_tolowerdump.cpp b/vespalib/src/vespa/fastlib/text/apps/unicode_tolowerdump.cpp
new file mode 100644
index 00000000000..7d84f6e931d
--- /dev/null
+++ b/vespalib/src/vespa/fastlib/text/apps/unicode_tolowerdump.cpp
@@ -0,0 +1,10 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+#include <vespa/fastlib/text/unicodeutil.h>
+
+int main(int argc, char **argv) {
+ for (ucs4_t testchar = 0; testchar < 0x10000; testchar++) {
+ printf("%08x %08x\n", testchar, Fast_UnicodeUtil::ToLower(testchar));
+ }
+ return 0;
+}