[Issue 23540] New: std.uni loadProperty aliases for C are incorrect

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 6 11:43:53 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23540

          Issue ID: 23540
           Summary: std.uni loadProperty aliases for C are incorrect
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: alphaglosined at gmail.com

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

--


More information about the Digitalmars-d-bugs mailing list