Changeset: bf087cf0de9a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/bf087cf0de9a
Modified Files:
gdk/gdk_string.c
misc/python/uniiconvtab.py
Branch: Dec2025
Log Message:
Updated script uniiconvtab.py and added comment that it is what we used.
diffs (29 lines):
diff --git a/gdk/gdk_string.c b/gdk/gdk_string.c
--- a/gdk/gdk_string.c
+++ b/gdk/gdk_string.c
@@ -7338,9 +7338,9 @@ GDKstrcasestr(const char *haystack, cons
/* The asciify table uses the same technique as the case conversion
* tables, except that the value that is calculated is not a codepoint.
* Instead it is the index into the valtab table which contains the
- * string that is to be used to replace the asciified character.
- * This combination of tables is derived from the command
- * ``iconv -futf-8 -tASCII//TRANSLIT`` */
+ * string that is to be used to replace the asciified character. */
+
+/* These tables were created using the code in uniiconvtab.py */
static const char *const valtab[] = {
NULL,
[1] = " ",
diff --git a/misc/python/uniiconvtab.py b/misc/python/uniiconvtab.py
--- a/misc/python/uniiconvtab.py
+++ b/misc/python/uniiconvtab.py
@@ -25,7 +25,8 @@ def mktab(input):
# ? is default replacement
continue
if 0x0370 <= codepoint <= 0x1CFF or \
- 0x1F00 <= codepoint <= 0x1FFF:
+ 0x1F00 <= codepoint <= 0x1FFF or \
+ 0x10000 <= codepoint:
# skip lots of non-Latin based scripts
continue
if not val in valdict:
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]