var strCmd = ./test.elf -e title
exec(strCmd, g_strExecOptions, function(err, stdout, stderr) {});
test.elf为c语言程序,title为汉字字符串,C语言的命令行参数解析使用glib的g_option_context_parse函数,但是,每次调用的时候都提示 option parsing failed: Invalid byte sequence in conversion input/n,请教以下高手,告知原因。nodejs采用的是utf8编码。