From f9d000cfabe83c219b6a035e0e08fdd2cacebc9e Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Mon, 19 Jan 2015 22:16:22 -0500 Subject: unicode: update to unicode 7, add unicode_script() - Script property, TR24. --- unicode/scripttest.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 unicode/scripttest.c (limited to 'unicode/scripttest.c') diff --git a/unicode/scripttest.c b/unicode/scripttest.c new file mode 100644 index 0000000..3009369 --- /dev/null +++ b/unicode/scripttest.c @@ -0,0 +1,22 @@ +/* +** Copyright 2015 Double Precision, Inc. +** See COPYING for distribution information. +** +*/ + +#include "unicode_config.h" +#include "unicode.h" +#include +#include +#include +#include + + +int main(int argc, char **argv) +{ + if (argc >= 2) + { + printf("%s\n", unicode_script(strtol(argv[1], NULL, 0))); + } + return (0); +} -- cgit v1.2.3