why spawn crash?
mzfhhhh via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jan 23 17:54:30 PST 2015
thanks,you are right.
window console show chinese char is not right,
so i try to add this code:
"
extern(C) int setlocale(int, char*);
static this()
{
fwide(core.stdc.stdio.stdout, 1);
setlocale(LC_CTYPE, cast(char*)"china");
}
"
it's looks like solve the problem,but caused another problem.
now i use "chcp 65001" command to change the code page and change
the
font to "lucida console".it works correctly!
More information about the Digitalmars-d-learn
mailing list