I'm trying to print to a device which supports CP866 encoding only.
Unfortunately the device from which I'm printing (an Android device) does not support CP866, resulting in "abc".getBytes("CP866")
throwing the UnsupportedEncodingException
.
So, I guess, I have to do Unicode
to CP866
encoding myself. Is there any freeware java library that does that?