I have a C # function that I want to translate into Java code. I have a problem:
Encoding enc = Encoding.GetEncoding("Windows-1252");
bytZeichenBenutzer = enc.GetBytes(strBenutzer.Substring(intLoopCount, 1).ToCharArray());
How to do it in Java? I can not find anything similar only to material that works with UTF-8.
source
share