What I'm trying to do is generate an array of chars that represent certain ASCII values in a certain ISO/IEC charset. Let's say, if I'm intersted in ASCII values 211-217 of ISO/IEC 8859-7 charset then the result should be { Σ, Τ, Υ, Φ, Χ, Ψ, Ω }. I tried this:
for (int i = 211; i <= 217; i++) {
System.out.println(String.valueOf((char)i));
}
But the results are based on the default system charset.