diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-22 19:02:06 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-03-22 19:02:06 (GMT) |
commit | a4ecbee86766b35d25d41d1a178806e1688485df (patch) | |
tree | 0cb08f45ced6dd4ed97188972c5a718c94219d46 /src/template.cpp | |
parent | fa1897b1889f7bf74de68f1ac99cf3be343a7551 (diff) | |
download | Doxygen-a4ecbee86766b35d25d41d1a178806e1688485df.zip Doxygen-a4ecbee86766b35d25d41d1a178806e1688485df.tar.gz Doxygen-a4ecbee86766b35d25d41d1a178806e1688485df.tar.bz2 |
issue #8375: Lowercase search does not find non-ASCII uppercase pages and vice versa
Diffstat (limited to 'src/template.cpp')
-rw-r--r-- | src/template.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/template.cpp b/src/template.cpp index 9bfeb23..9af1d60 100644 --- a/src/template.cpp +++ b/src/template.cpp @@ -30,6 +30,7 @@ #include "regex.h" #include "fileinfo.h" #include "dir.h" +#include "utf8.h" #define ENABLE_TRACING 0 @@ -1106,7 +1107,10 @@ class FilterAlphaIndex { TemplateVariant v = s->get(attribName); int index = getPrefixIndex(v.toString()); - return getUtf8CodeToUpper(v.toString(),index); + return getUnicodeForUTF8CharAt( + convertUTF8ToUpper( + getUTF8CharAt(v.toString().str(),index) + ),0); } public: |