run jsc file it always reports Cocos2d: JS: <no filename="filename">:0:malformed UTF-8 character sequence at offset 1

I put all javascript files in a file.
It works well in .js
but if I convert it to .jsc file and run
t always reports

Cocos2d: JS: <no filename="filename">:0:malformed UTF-8 character sequence at offset 1

I searched and found out

MSG_DEF(JSMSG_MALFORMED_UTF8_CHAR,    205, 1, JSEXN_TYPEERR, "malformed UTF-8 character sequence at offset {0}")

first 3,4 lines of the jsc file

U¿sπJ.¥πç‹Q/Users/myname/cd-standard/Javascript_projects/Cocos2dxjs/testa/testa/Resources/hello222nounicode.jsW ÅÅÅÄÅÅÅÅťşÅÄʼnÅÅÅÅöõúùûü†°¢Å)±Å2Å:ÅiÅoÅpÅsÅtÅÅàÅân;DQY\oQ;?6;<6;XÄ6;>6;<6;◊6;>6;◊6;◊6 ;?6
;?6;>6;◊6
;?6;?6n;DQY\oQ;>6;?6;◊6;◊6;◊6;◊6;◊6;◊6;◊6;◊ 6;◊
6;◊6;>6;?6;>6;?6 ;◊6!;◊6";◊6#;◊6$;◊6%;◊6&;◊6';◊ 6';;56(;>6);?6*;◊6+;>6,;?6-;◊6.;>6/;>60;>61;?62;>63;?64;◊65;◊ˇ66;>67;?68;◊ˇ69;◊ˇ6:;>6;;?6<;<6=;ÿ@6>;ÿ 6?;>6@;?6A;>6B;?6C;YXˇ]E>]F>]G\6D;Y>]EXˇ]F>]G\6H;Y>]E>]FXˇ]G\6I;Y>]E>]F>]G\6J;YXˇ]EXˇ]FXˇ]G\6K;YXˇ]EXˇ]F>]G\6L;Y>]N>]O\6M;<6P;>6Q;?6R;◊Ä6S;◊6T;ZY>]N>]O\`Y>]N>]O\`Y>]N>]O\`Y>]N>]O\`\6U;>6V;Y>]X>]Y\6W;Y>]N>]O>]X>]Y\6Z;YXˇ]EXˇ]FXˇ]G\6[;YXˇ]EXˇ]FXˇ]GXˇ]]\6\;;5_DQ;5^DQ;^6^;Ç6`;Ç6a;Ç6b;Ç6c;;5b6d;;5c6e;Ç6f;Ç6g;Ç6h;Ç6i;Ç6j;Ç    6k;Ç
6l;Ç6m;Ç6n;Ç
6o;Ç6p;Ç6q;Ç6r;Ç6s;Ç6t;Ç6u;Ç6v;Ç6w;Ç6x;Ç6y;Ç6z;Ç6{;Ç6|;Ç6};Ç6~;Ç6nÄ;ÄDQ;ÅoÄQ;Ç6Ç;5ÉÇ6Ñ;5ÖÇ 6Ñ;5Ü;5Ü5á6Ñ;Ç!6à;Ç"6â;Ç#6ä;Ç$6ã;5ãÇ%6å;5ç;5ã5å6å;5é;5ã5å6å;5è;5ã5å6å;5ê;5ã5å6å;5ë;5ã5å6å;5í;5ã5å6å;5ì;5ã5å6å;5î;5ã5å6å;;5ã∏å
‰YÇ&]ñ\‰:6ï;5ïÇ'6ón;DQY\oQ;◊ˇ6ò;>6ô;?6ö;◊6õ;>6ú;?6ù;>6û;?6ü;◊6†;◊6°;◊6¢;>6£;?6§;◊6•;◊6¶;◊6ß;◊6®;◊6©;>6™;?6´;◊6¨;◊6≠;◊6Æ;5ØÇ(6Ñ;5Ø5∞Ç)6±;5≤5∞Ç*6≥;5¥;5ã5å6å;5µ;5ã5å6å;5∂;5ã5å6å;5∑;5ã5å6ån;DQY\oQ;?6;<6;XÄ6;>6;<6;◊6;>6;◊6;◊6    ;?6
;?6;>6;◊6
;?6;?6n;DQY\oQ;;5g6∏;;5h6π;;∏∏

it works on xcode5, mac osx mountain lion 10.8.5
is there anyone met the same problem?

Did you use cocos2d-console to generate jsc?
Please use the version in your cocos2d-x/tools/cocos2d-console.

dumganhar wrote:

Did you use cocos2d-console to generate jsc?
Please use the version in your cocos2d-x/tools/cocos2d-console.

it is ok now, thanks a lot