I'm trying to convert a string from UTF-8 to ASCII 8-bit by using the iconv
function. The string is meant to be imported into an accounting software (some basic instructions parsed accordingly to SIE standards).
What I'm running now:
iconv("UTF-8", "ASCII", $this->_output)
This works for accounting software #1, but software #2 complains about the encoding. Specified encoding by the standard is: IBM PC 8-bit extended ASCII (Codepage 437)
.
My question is, what version of ASCII is PHP encoding my string into, and if other than specified - how can I encode the string accordingly to the standard specification?