convertToValues with trim flag

for Wm 6.5, convertToValues has parameter to trim white spaces.
If I pass flat file data as a string and set the trim flag to both.
flat file record is created and each field is trim.

But if I pass flat file data as stream, flat file record is created, but each field is not trimmed as expected.

Any suggestions.
workaround is possible by trimming individual fields but why convertTovalues doesnt work with stream.

I believe,it should work with InputStream (ffData) also…

Can you try setting encoding param (mainly for InputStream passed) and check the output if it trimed the data?