www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Re: Adding Unicode operators to D

Bill Baxter Wrote:

 I did that but "type <filewith-utf8.txt>"  still prints garbage.

if application prints garbage, this indicates that it's implemented incorrectly or it's not encodings-aware. Correctly implemented application should transcode text to OCP before printing to console. This is what std.stdio.writef is supposed to do.
Oct 25 2008