On Monday, 24 February 2020 at 21:25:50 UTC, Marcone wrote:
        foreach(i; "Canção")
Prints:

Try

foreach(dchar i; "Canção") // note the added dchar

to see a different presentation of the very same data.

If you take the strings apart byte by byte that will look different, but they all represent the same characters, and foreach can help decode that if you ask it to.

Reply via email to