Should you be able to initialize a float with a char?
kdevel
kdevel at vogtner.de
Thu May 19 22:51:55 UTC 2022
On Thursday, 19 May 2022 at 22:24:35 UTC, deadalnix wrote:
> On Thursday, 19 May 2022 at 22:14:31 UTC, kdevel wrote:
>> Free of charge I compiled and ran this for you:
>>
>> $ dmd lcb
>> $ ./lcb
>> input : A Ä
>> bright : a Ä
>> toLower (std.utf): a ä
>> input : A Ä
>> bright : a ä
>> toLower (std.utf): a ä
>>
>> See the problem?
>
> You could have use "Ali Çehreli" as a test case :)
One needs to combine U+0043 LATIN CAPITAL LETTER C + U+0327
COMBINING CEDILLA in this case. Further Reading:
[3]
https://medium.com/@sthadewald/the-utf-8-hell-of-mac-osx-feef5ea42407
More information about the Digitalmars-d
mailing list