How-to: input/output "Japanese Characters"?
Georg Wrede
georg.wrede at iki.fi
Sat May 2 15:41:00 PDT 2009
Tyro[a.c.edwards] wrote:
> I'm on a Japanese system attempting to input/output Japanese Characters
> and cannot seem to accomplish it. How would I read
> "憲法記念日 理念と現実、広がる格差" from stdin/file and output the same
> to stdout/file?
import std.stdio;
void main()
{
auto lin = readln();
writeln(lin);
}
Works with your Japanese strings. It just works(tm).
More information about the Digitalmars-d-learn
mailing list