Bug 23540 – std.uni loadProperty aliases for C are incorrect
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2022-12-06T11:43:53Z
Last change time
2022-12-24T12:39:36Z
Keywords
pull
Assigned to
No Owner
Creator
Richard Cattermole
Comments
Comment #0 by alphaglosined — 2022-12-06T11:43:53Z
In std.uni the function loadProperty handles aliases as defined by TR44, the current values of C do not match the values defined by TR44.
They should be: Cc | Cf | Cs | Co | Cn.
https://www.unicode.org/reports/tr44/#Property_Values
This is a breaking change. I want to hold off fixing this until my PR goes in for the table update due to the potential of that breaking peoples code as well. Best the breakage happens all in one release rather than spread out. However, it would be nice to know why it was done like this originally.
https://github.com/dlang/phobos/pull/8617
Comment #1 by dlang-bot — 2022-12-19T19:30:41Z
@rikkimax created dlang/phobos pull request #8652 "Fix issue 23540 - std.uni loadProperty aliases for C are incorrect" fixing this issue:
- Fix issue 23540 - std.uni loadProperty aliases for C are incorrect
https://github.com/dlang/phobos/pull/8652
Comment #2 by dlang-bot — 2022-12-24T12:39:36Z
dlang/phobos pull request #8652 "Fix issue 23540 - std.uni loadProperty aliases for C are incorrect" was merged into master:
- 13ef27a56e4c22e122fc4dd54bb46b5955babdb0 by richard (rikki) andrew cattermole:
Fix issue 23540 - std.uni loadProperty aliases for C are incorrect
https://github.com/dlang/phobos/pull/8652