Fix the problem trick problem but have to modify the test file.

This way fix the problem but I have to change the test code.
I have to remove the dummy encoding from test.
Seems to be impossible to solve this problem without remove the dummy encoding which have no real encoding.