node页面console.log("汉字");只要碰到汉字就报错,求解答,谢谢!
 发布于 9 年前  作者 wdlhao  4755 次预览  最后一次回复是 9 年前  来自 问答 

报错信息如下: untitled2.png

3 回复
stoneniqiu

确实好奇葩的错误,没遇到过,绑定

zhangzifa

windows吧 As @Worthy7 pointed out, on Windows, EIO frequently means that you’re running into codepage inconsistencies. See also #3858 (comment). Closing as resolved.

运行下 chcp 850

没有验证过,非windows用户