fix writeLineToFd for windows console output
This function now (on windows): * converts \n to \r\n (for both file and console outputs) * when the output is redirected to a file, uses WriteFile with utf-8 output * when the output will appear on a console, uses WriteConsole with utf-16 output instead
Showing
Please
register
or
sign in
to comment