On Wednesday, 27 November 2013 at 14:48:07 UTC, David Nadlinger wrote:
On Wednesday, 27 November 2013 at 14:34:15 UTC, Gary Willoughby wrote:
Here i understand what is happening but how could i improve this example to make the expected asserts true?

In this specific example you could e.g. use std.uni.normalize, which by default puts the string into NFC, which has all the canonical compositions applied (e.g. ë as a single character).

David

I'll stress your "in this specific example", as that will not work if there is no way to represent the "character" as a single codepoint.

Reply via email to