summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/gblprocs.h
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2021-08-21 09:09:30 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2021-08-21 09:09:30 +0000
commit4c727e16661a4145466049ac30800a24ac01c434 (patch)
treec089b9f380b98bbf50102c7cfa90a63208fad38d /Build/source/texk/bibtex-x/gblprocs.h
parentd63a62bd4a01640a28e80e1099457cb98b919129 (diff)
bibtexu: fix bug about upper/lower cases, collation
git-svn-id: svn://tug.org/texlive/trunk@60292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtex-x/gblprocs.h')
-rw-r--r--Build/source/texk/bibtex-x/gblprocs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/bibtex-x/gblprocs.h b/Build/source/texk/bibtex-x/gblprocs.h
index 7d441a71228..c3be6c9c5d1 100644
--- a/Build/source/texk/bibtex-x/gblprocs.h
+++ b/Build/source/texk/bibtex-x/gblprocs.h
@@ -115,6 +115,7 @@ int32_t icu_strToUpper (UChar * tarup,
int32_t tucap,
UChar * target,
int32_t tarlen);
+#define utf8len(a) ((a)<0x80 ? 1 : ((a)<0xc2 ? -2 : ((a)<0xe0 ? 2 : ((a)<0xf0 ? 3 : ((a)<0xf5 ? 4 : -1)))))
#endif
void a_close (const AlphaFile_T file_pointer);
Boolean_T a_open_in (AlphaFile_T *file_pointer,