Fixes Iconv bug.

The source and target encoding type were swapped.