This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push: new 265b49f25f GROOVY-11436: refine check for characters with full width 265b49f25f is described below commit 265b49f25f33f46fa530405efac7bc43ab1d8b11 Author: Daniel Sun <sun...@apache.org> AuthorDate: Sun Jul 14 19:28:05 2024 +0800 GROOVY-11436: refine check for characters with full width --- .../groovy/ginq/provider/collection/runtime/AsciiTableMaker.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/AsciiTableMaker.groovy b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/AsciiTableMaker.groovy index a50cf8e9f7..8e14bf077e 100644 --- a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/AsciiTableMaker.groovy +++ b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/AsciiTableMaker.groovy @@ -169,6 +169,9 @@ class AsciiTableMaker { } private static boolean isFullWidth(char c) { + // space and visible ASCII characters + if (32 <= c && c <= 126) return false + Character.UnicodeBlock block try {