2 - port cannot be opened
3 - parameters cannot be applied to port
10 - current settings cannot be read from port
If the target machine (i.e. printer) should not accept UTF-8 encoded text, this property allows
the modification of strings before they are sent.
Reading is not affected - the read method only returns an array of the raw bytes received.
The following encodings are supported:
Big5
Big5-HKSCS
CP949
EUC-JP
EUC-KR
GB18030
HP-ROMAN8
IBM 850
IBM 866
IBM 874
ISO 2022-JP
ISO 8859-1 to 10
ISO 8859-13 to 16
Iscii-Bng, Dev, Gjr, Knd, Mlm, Ori, Pnj, Tlg, and Tml
KOI8-R
KOI8-U
Macintosh
Shift-JIS
TIS-620
TSCII
UTF-8
UTF-16
UTF-16BE
UTF-16LE
UTF-32
UTF-32BE
UTF-32LE
Windows-1250 to 1258
Prototype:
myRS232.encoding = STRING <encoding name>;
Example:
// Change the encoding to Windows 1252
myRS232.encoding = "Windows-1252";