-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
utf8proc 2.8.0 does not support new grapheme-break rules in Unicode 15.1.0 #252
Comments
I just downloaded utf8proc-2.8.0.tar.gz and make check works for me. I also tried the mkdir build
cmake -S . -B build -DUTF8PROC_ENABLE_TESTING=ON
cmake --build build
ctest --test-dir build -V and it works too. |
OK so what I can try to do to diagnose this issue? 🤔 |
Try the exact commands that I used above on a fresh tarball to see if you still reproduce the issue. |
May I ask for a little hel what exactly I can try to execute? 🤔 FYI: I'm building rpm package. During the build tar ball is automatically downloaded from the URL specified in rpm spec file in build env created to build only ONE package inside LXC zone in which are installed ONLY packages listed in rpm BuildRequires. |
There was a new Unicode 15.1.0 release and utf8proc needs to be updated for it. http://blog.unicode.org/2023/09/announcing-unicode-standard-version-151.html |
The tests should download the test files for the supported version of Unicode (version 15), however? |
Same issue on Debian Sid. The unit tests fails after updating the code for unicode 15.1.0 . The grapheme tests on which the tests failed are newly added, and did not exist in the previous version 15.0.0 |
The current version of utf8proc will not work if you simply update the build scripts to use Unicode 15.1.0, even if you re-generate the data tables. It is only compatible with Unicode 15. The difficulty is that they updated the grapheme rules in Unicode 15.1.0, adding a new rule GB9c that relies on a new I'm working on an update now that will support the new Unicode 15.1.0 rules, but it is an error to expect utf8proc 2.8 (or any other library written for Unicode 15) to pass the Unicode 15.1 grapheme tests. |
utf8proc.testgraphemetest
unit
Thanks! This is a very valuable comment to me. My fellow developers were asking me when I will upload the patch. Now it seems I'd better wait for the fix. |
Support for Unicode 15.1 is merged into |
Looks like latest 2.8.0 is failing in
utf8proc.testgraphemetest
unitThe text was updated successfully, but these errors were encountered: