Try OpenEdge Now
skip to main content
Internationalizing Applications
Understanding Code Pages : Code-page conversion : Sockets and code-page conversion
 

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.