• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How do I resolve this encoding issue?

leevoper

Lurker
I've had this issue since upgrading to gradle 3.3
encoding_issue.jpg


I have tried the following answers from stack overflow
None of the solutions fixed the issue. When I went into File > settings > File encodings
and made sure that all files were using UTF-8. When that didn't work I changed it to system-defaults but none of those attempts fixed the issue.

All help is appreciated.
 
If you tried all those answers, then what about doing a global search and replace for the offending strings?
 
If you tried all those answers, then what about doing a global search and replace for the offending strings?
It's not just the underscore character that get converted to an "¿". See the image below. There appears to be an encoding mismatch somewhere in android studio.
encoding_issue_1.jpg
 
Fixed it!
This turned out to be a editor scheme issue. I think I was using a scheme with a malformed font so to change it I CTRL+ALT+S" naviageted to Colors & Fonts and selected a different scheme then clicked Apply. Lo and behold my text was readable once again. I can now begin programming.
 
Back
Top Bottom