Lionello Lunesu: > I could have sworn this used to work. Is my memory failing me, > or was this a deliberate change at some point? Perhaps a > regression? It's not a regression, it's a locked-in design mistake. Write it like this and try again: foreach (dchar d; "你好") Bye, bearophile