I am trying to convert a string from UTF-8 to ASCII 8-bit using a function iconv. The line is intended for import into accounting software (some basic instructions are processed in accordance with SIE standards).
What am I launching now:
iconv("UTF-8", "ASCII", $this->_output)
This works for accounting software No. 1, but software No. 2 complains about the encoding. A specified coding standard: IBM PC 8-bit extended ASCII (Codepage 437).
My question is: which version of ASCII is PHP encoding my string, and unless otherwise specified, how can I encode the string in accordance with the standard specification?
source
share