-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Just doing first steps with IbmiToolkit, i modified call-procedure.php script in samples for testing. It works, but character parameters (ie $params[] = $conn->AddParameterChar('both', 20,'Parm', 'PARM', ''); ) are returned with 'double utf-8 encoding'. That is, i had to perform mb_convert_encoding($result['io_param']['PARM'], 'ISO-8859-1', 'UTF-8') to get the right parameter value in utf-8. I verified that the script is utf-8 encoded, with some special chars hardcoded that show ok in the html result page, which even has defined charset="UTF-8" as meta to make sure it displays content in utf-8 encoding.
Maybe it's a config issue?
Metadata
Metadata
Assignees
Labels
No labels