From 4c727e16661a4145466049ac30800a24ac01c434 Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Sat, 21 Aug 2021 09:09:30 +0000 Subject: bibtexu: fix bug about upper/lower cases, collation git-svn-id: svn://tug.org/texlive/trunk@60292 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/bibtex-x/gblprocs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Build/source/texk/bibtex-x/gblprocs.h') 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, -- cgit v1.2.3