Sockets and code-page conversion
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Sockets and code-page conversion
If two applications using different code pages communicate using
sockets (one of the external programming interfaces OpenEdge provides), code-page
conversion must be performed by the application. It is not performed automatically
by the sockets layer. Specifically, it is not performed by socket's WRITE() method
or READ() method.
To perform the code-page conversion, use the ABL CODEPAGE-CONVERT function
either before invoking the ABL PUT-STRING function
or after invoking the ABL GET-STRING function.