Release D 2.102.0
Ali Çehreli
acehreli at yahoo.com
Thu Feb 2 17:22:46 UTC 2023
On 2/2/23 04:30, Iain Buclaw wrote:
> Glad to announce D 2.102.0, ♥ to the 40 contributors.
Thanks indeed! Two issues that I had some interest in are fixed. Yay!
https://issues.dlang.org/show_bug.cgi?id=17378
https://issues.dlang.org/show_bug.cgi?id=23561
I am aware how complex unicode collation is[1] but I somehow find it
very wrong to list Ömer at the end. :)
[...]
> Steven Schveighoffer
> Vladimir Panteleev
> Walter Bright
> Ömer Faruk IRMAK
Obviously because I am used to the Turkish alphabet but in any case
because Ö is very much related to O, I find it universally better to
list Ö right after O. (The same should be for all latin based characters.)
I see there is std.uni.icmp which uses
dmd/std/internal/unicode_tables.d
but it doesn't help because the array fullCaseTable in there seems to be
about equivalence (e.g. of ß and ss). I think we need a "mostly correct"
collation for latin based characters.
I have a hacky[2] solution only for Turkish, which I used for the Index
section of my book:
https://bitbucket.org/acehreli/ddili/src/4c0552fe8352dfe905c9734a57d84d36ce4ed476/src/alphabet.d#lines-50
Ali
[1] https://www.unicode.org/reports/tr10/
[2] The comment about the hacky treatment of 'I' in there is another
example of how difficult collation is. This may not fit everybody's
preference but as a result and as I desired, the entries "IDE" and
"InputRange" appear under 'İ' in the index (instead of 'I'):
http://ddili.org/ders/d/ix.html
More information about the Digitalmars-d-announce
mailing list