Am converting an application from java to objective-c and have run into an issue around character encoding.
In the java code the statement am trying to convert is:
byte[] instructions = input.getBytes("CP037");
I was hoping to do the following in objective-c:
const char *instructions = [input CP037];
However “CP037” doesn’t exist as an encoding, does anyone know how to overcome?
Got there in the end: