First of all, thanks for all the thoughts that flow into this thread.
I already added a bug-report for this to the symfony2 forums, so if we can link this thread to the symfony2 thread you'll find here, we might came up with a solution in the future.
You can find this thread here... https://github.com/symfony/symfony/issues/1434
Ok, so first i tried to do all the things mentioned when i started the thread in qp2term, but with exactly the same results. Garbage all over the place.
As you can see i have tested exactly what the devs of SF2 asked me, and you can read the results in the thread.
So echo works as a charm, stdout doesn't.
So i start playing with QIBM_PASE_CCSID values and enhanced the echo script with two special chars, é and è to test that on the console.
This was the result... "Is this garbage ? And a special char Ã© and Ã¨"
OK, so also some kind of utf-8 problem...
i ranned the command env and the ccsid values was this...
so i changed with "export QIBM_PASE_CCSID=1280 (this to change the ccsid to UTF-8)
However the result was the same...
then i changed CCSID to 37 (for the Netherlands)
This did not make sense, as the result was still the same for 819, 1280, 37 or even 65535
So this all feels as a major pain, and in meanwhile i ask myself if it is wise anyway to run your website on the iseries.
Because face it, if i always get junk instead of special chars and there is no way to fix that, how can you run your page if you are not from US where they do not use special chars ?
At least for the price you pay for an iseries server and the software- and hardware-contract i would expect IBM would provide some better support for all this.
Running on a windows server is no option anyway, as when you want to connect native to the DB/2 databases you are required to buy some or other tool
calles IBM Connect which cost over 500 bucks to simply be able to use their DB/2 database. However i have never seen that working, so it is understandable
the company is not willing to invest in a tool which you even don't know if that will fix all the problems.
Symfony2 runs GREAT on a windows or linux box, where UTF-8 is somewhat standard these days.
And ofcourse i thought about a zend-server license to get the support from zend itself, but face it, if i can't get this all running, why should i buy a license anyway ?
So let's put our heads together (the people here and the people of the Symfony2 dev team) to get this all going.