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?