Repository navigation
Unicode 18 UCD tables - #6448
Charlie Lin (clin1234) wants to merge 18 commits into
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
🟡 Changes recommended
The updated grapheme expectations conflict with the unchanged GB9c implementation.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates Unicode-dependent formatting tables and grapheme-cluster test data to Unicode 18.0.0.
Changes:
- Updates Unicode source references.
- Regenerates formatting UCD tables.
- Regenerates grapheme-break test vectors.
File summaries
| File | Description |
|---|---|
tools/unicode_properties_parse/unicode_properties_data_gen.py |
Updates Unicode 18 UCD sources. |
tools/unicode_properties_parse/grapheme_break_test_data_gen.py |
Updates the Unicode 18 grapheme-test source. |
tests/std/tests/P0645R10_text_formatting_grapheme_clusterization/test.cpp |
Adds regenerated Unicode 18 grapheme data; GB9c expectations require implementation updates, and generated markers should be preserved. |
stl/inc/__msvc_format_ucd_tables.hpp |
Contains regenerated Unicode 18 formatting tables. |
Review details
Suppressed comments (1)
tests/std/tests/P0645R10_text_formatting_grapheme_clusterization/test.cpp:16
- This regeneration removes the
// Generator:and// Beginning of generated datamarkers from the generated section, while the matching// End of generated datamarker remains at line 1175. Please preserve the paired delimiters (and updatecpp_templateif these are meant to be regenerated) so the checked-in file does not advertise an unmatched generated region.
// GraphemeBreakTest-18.0.0.txt
// Date: 2026-06-12, 00:44:16 GMT
- Files reviewed: 4/4 changed files
- Comments generated: 1
- Review effort level: Lite (auto)
Note
Copilot is running an experiment and ran this review at Lite.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🟡 Changes recommended
The GB9c matcher has a correctness issue and grapheme iteration performs a redundant property lookup.
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 2
- Review effort level: Lite (auto)
Note
Copilot is running an experiment and ran this review at Lite.
86cfb64 to
20d8e3f
Compare
20d8e3f to
b0d1a50
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
b0d1a50 to
e43d4f0
Compare
Regenerate from newer Unicode 18.0.0 revisions of the UCD files: DerivedGeneralCategory, EastAsianWidth and GraphemeBreakProperty (2026-06-29), DerivedCoreProperties (2026-08-07), and GraphemeBreakTest (2026-06-12). This is not a Unicode version bump; everything stays 18.0.0. The only content change is that the Chisoi block (U+16D80..U+16DA9) has been unassigned again, which shrinks four tables: _Grapheme_Break_property_data 1394 -> 1392 _Indic_Conjunct_Break_property_data 485 -> 483 __printable_property_data 743 -> 741 _Grapheme_Extend_property_data 391 -> 389 _Extended_Pictographic_property_data and _Width_estimate_intervals_v2 are unchanged (the Chisoi code points were East_Asian_Width=N). The changes to GraphemeBreakTest.txt are cosmetic - the rule numbers in the trailing comments were renumbered - so the 853 test cases in the clusterization test are identical and only the date comment moves. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This reverts commit 23ebfd7.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
bb3c4b7 to
383126e
Compare
|
Copilot here is less than helpful, as usual... |
This comment was marked as resolved.
This comment was marked as resolved.
|
And once again, I firmly believe Copilot is wrong to flag such issue. It's already been resolved by prior commits |


Regenerate UCD tables for
<format>and Grapheme Cluster breaksGetting closer to 18's final release on the 16th: https://www.unicode.org/versions/beta-18.0.0.html
Claude was only used to discover that the Chisoi block was unassigned; all subsequent effort consisted of manually pulling updated UCD, regenerating relevant files, and manually-inspecting them for correctness.