file was loaded in the wrong encoding android studio windows

Reference Link: https://stackoverflow.com/questions/53249677/android-studio-shows-wrong-file-contents/54509482#54509482

Thanks to the Answer of Asim, I found deleting folder caches fixed the problem for my case (all gradle files in Android Studio show contents that have nothing to do with the actual contents of these files):

Delete caches folder.then you are good to go.

C:\Users\my_user_name\.AndroidStudio3.3\system\caches

Author: joker