If I have a character array that is in EBCDIC format and I want to save that array to a file. I'm thinking of using fputs
to output the character array without first converting it to another format.
Question) Is the use of fputs
legal for writing EBCDIC? If not, should I convert the string to ASCII before outputting?
I've search online, but couldn't find anything to say fputs
should not be used for outputting EBCDIC data.