Kirk McDonald wrote: > Pardon? I haven't said anything about stdio behaving differently whether > it's printing to the console or not. writefln() would /always/ attempt > to encode in the console's encoding. Ok, I misunderstood. Now, what if stdout is reopened to be a file?