Aarti_pl wrote:
>> char and wchar are nothing special, but char[] and wchar[] are magic.
>> If those used ubyte[] and ushort[], code point looping wouldn't work.
>
> so it works now?
Sure:
import std.stdio;
void main() {
char[] text="Łóżko";
foreach(wchar c; text) {
writefln(c);
}
}
--anders