Commit fe01d0df authored by Brian White's avatar Brian White Committed by James M Snell
Browse files

src: fix exception message encoding on Windows

The printf family of functions do not properly display UTF8
strings well on Windows. Use the appropriate wide character
API instead if stderr is a tty.

PR-URL: https://github.com/nodejs/node/pull/3288
Fixes: https://github.com/nodejs/node/issues/3284


Reviewed-By: default avatarBert Belder <bertbelder@gmail.com>
parent eb7c3fb2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment