Recently I was going to start using the i5_toolkit again but ran into an issue with my system value for QCCSID set to 65535. Luckily Alan Seiden helped me out and let me know that you can set it in Apache or the user profile. So in your httpd.conf file you just need to set these values:

DefaultFsCCSID 37
DefaultNetCCSID 37

Now if your running PHP via the command line you’ll have to run either changer user profile or change job ccsid:

CHGUSRPRF USRPRF(MJORDAN) CCSID(37)
CHGJOB CCSID(37)

before you call php.