Android malformed UTF8

Hello,

My configs : cocos2djs 3.6.1 , coco code ide 2

I tried to debug my game on Android with cocos code ide 2. I have errors on console when the IDE is loading resources on my devices :

/data/data/org.cocos2dx.PrebuiltRuntimeJs/files/debugruntime/script/jsb_boot.js:515:TypeError: malformed UTF-8 character sequence at offset 1256

and the program does not start.

Same result with cocos compile -p android --> game crash

The projects works on web.

Do you know how to solve this problem ?

Thanks

Sorry, a .js file was not encoded correctly (iso …) 1h to debug :frowning:
The default encoding settings is not utf8 in intellij

solved.

1 Like