Android Studio vs Russian

I have Android Studio and Eclipse. If I compile the code in Eclipse, there are no problems with Russian characters in the code, but in Android Studio I ran into this problem "ะƒั• ยท า‘ ยฐ ะ…". Further, it does not depend on how it looks in Studio - this "ะƒั• ยท า‘ ยฐ ะ…ะ†" happens on the device. Code example:

db.execSQL("Insert into type(name,image) values('',null);"); db.execSQL("Insert into type(name,image) values('',null);"); db.execSQL("Insert into type(name,image) values('',null);"); db.execSQL("Insert into type(name,image) values('',null);"); 

Can someone help me? Android Studio is really nice to work with, and I don't want to return to the eclipse.

+4
source share

Source: https://habr.com/ru/post/1493915/


All Articles