This is not a direct answer, but in order to facilitate the work, itβs good to know that in a slightly decent IDE you can just look for used occurrences InputStreamReader , OutputStreamWriter , String#getBytes() , String(byte[]) , Properties#load() , URLEncoder#encode() , URLDecoder#decode() and spouses, in which you can pass the encoding and then update accordingly. You also want to find FileReader and FileWriter and replace them with the first two classes mentioned. True, this is a tedious task, but worth it, and I would prefer it to be higher, relying on specific features.
In Eclipse, for example, select the project of interest, press Ctrl + H , go to the "Java Search" tab, enter, for example, InputStreamReader , check the "Search Designer" box, select "Sources" as the only Search In and perform a search.
Balusc
source share