www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23540] New: std.uni loadProperty aliases for C are incorrect

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 puremagic.com
          Reporter: alphaglosined 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

--
Dec 06 2022