I need to read/write a string of characters using the IBM-1047 character encoding. But when I try this in java using String.getBytes("IBM-1047") a UnsupportedCharacterEncodingException is thrown.
The character encoding is installed on my Windows XP system (confirmed in Control Panel > Regional And Language Options > Advanced Tab).
What am I missing here?
Take a look at Convert String from ASCII to EBCDIC in Java?, it will almost give you a full answer.
The character encoding you want to use is
Cp1047. You can see a full list of supported character encodings here.