php - convert ebcdic to ascii
问题 $my_var = "1"; $connection = db2_connect ( "*LOCAL", "ISCSC", "ISCSC" ); $strSql = 'CALL LMTLIB.ARTEST(?)'; $stmt = db2_prepare ( $connection, $strSql ); db2_bind_param($stmt, 1, "my_var", DB2_PARAM_INOUT, DB2_CHAR); $rc = db2_execute ( $stmt ); echo $my_var; When this code block executes, $my_var has the value ¦–¦ The test RPGLE program being called is returning wow When the program is altered, the characters i get back are different... so i know i'm getting back values from the program. The