I was refering to the encoding, when retrieving string fields of an object. I seemed to get wrong encoded values. Turned out that we had the header of a http request configured wrong.
It had nothing to do with the encoding within bpm scripts.
My bad, sorry for the inconvinience & thanks for the answers.